diff options
| author | Jeff Carr <[email protected]> | 2025-09-11 03:15:16 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-11 03:15:16 -0500 |
| commit | 1a5647f96a1d32dc2540faed3f8d6f9e7ca6304e (patch) | |
| tree | d7bfeae559d49a6f3b7eb09fe300b18774943f27 /argv.go | |
| parent | a97eb38bc586bb9321648f22fade014bc07ba24f (diff) | |
use new forge.Init()
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,5 +1,10 @@ package main +import ( + "fmt" + "os" +) + /* this parses the command line arguements */ @@ -35,3 +40,16 @@ go-mod-clean will try to verify your go.* files are using the newest package ver * Try to trim go.sum of non-existent entries ` } + +func (a args) DoAutoComplete(argv []string) { + switch argv[0] { + case "checkout": + fmt.Println("user devel master ") + default: + if argv[0] == ARGNAME { + // list the subcommands here + fmt.Println("strict restore purge lax") + } + } + os.Exit(0) +} |
