feat: search cmd

chore: raw sql replaced with squirrel
fix: -n is now required for add cmd
This commit is contained in:
abelith committed 2026-08-15 18:38:26 +05:00
1 parent 80a90b65bb
commit 4447b7343f
9 files changed
+142 -27

No files matched your search

+4 -1
View File
@@ -16,6 +16,9 @@ import (
"syscall"
)
// Version is set on build via -ldflags
var Version = "dev"
func handleErr(err error) {
if err != nil {
_, _ = fmt.Fprintln(os.Stderr, err)
@@ -41,7 +44,7 @@ func main() {
app := application.NewApplication(&caster.SpellCaster{}, repo, repo)
c := cli.NewCLI(app)
c := cli.NewCLI(Version, app)
if err := c.Run(ctx); err != nil {
os.Exit(1)