feat: search cmd
chore: raw sql replaced with squirrel fix: -n is now required for add cmd
This commit is contained in:
1 parent
80a90b65bb
commit
4447b7343f
9 files changed
+142
-27
No files matched your search
+4
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user