new updates

This commit is contained in:
Jeff Carr 2025-09-09 03:16:29 -05:00
parent 4827be1d2a
commit 63be841469
1 changed files with 1 additions and 10 deletions

11
argv.go
View File

@ -8,8 +8,6 @@ package main
import (
"fmt"
"os"
"go.wit.com/dev/alexflint/arg"
)
var argv args
@ -34,20 +32,13 @@ func (args) Version() string {
return ARGNAME + " " + VERSION + " Built on " + BUILDTIME
}
func init() {
arg.MustParse(&argv)
}
func (a args) DoAutoComplete(argv []string) {
// argv.doBashHelp()
switch argv[0] {
case "merge":
fmt.Println("--force")
default:
if argv[0] == ARGNAME {
// list the subcommands here
fmt.Println("list merge")
}
fmt.Println("list merge")
}
os.Exit(0)
}