diff options
| author | Jeff Carr <[email protected]> | 2025-10-25 21:21:43 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-25 21:21:43 -0500 |
| commit | 077bc5a5be2c6144704347a15c5f5909a60dd310 (patch) | |
| tree | 7c20a059f2755b98307dfdc41ab3d551ded646ff /argv.custom.go | |
| parent | 36704585078a84db0a184f38456ec80cc3f6fcb1 (diff) | |
something. notsure
Diffstat (limited to 'argv.custom.go')
| -rw-r--r-- | argv.custom.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/argv.custom.go b/argv.custom.go index 0184c92..2b4f1f2 100644 --- a/argv.custom.go +++ b/argv.custom.go @@ -37,6 +37,7 @@ forge -- a tool to manage lots of git repos. forge includes a GUI and TUI. ` } +/* func ifBlank(arg string) bool { if arg == "''" { // if empty, the user has not typed something @@ -44,6 +45,7 @@ func ifBlank(arg string) bool { } return false } +*/ func (args) Appname() string { return APPNAME @@ -88,10 +90,12 @@ func (a args) SendCompletionStrings(pb *argvpb.Argv) { if pb.IsMatch("mode.config") { matches := []string{"mine", "favorites"} fmt.Fprintf(argvpb.Stdout, strings.Join(matches, " ")) + return } if pb.IsMatch("mode") { matches := []string{"once", "many", "mine", "favorites"} fmt.Fprintf(argvpb.Stdout, strings.Join(matches, " ")) + return } if pb.GetCmd() == "" { // these are base autocomplete strings |
