rearrange

This commit is contained in:
Jeff Carr 2025-09-25 01:09:19 -05:00
parent a478df2dcc
commit 4cd015b017
1 changed files with 4 additions and 4 deletions

View File

@ -168,10 +168,6 @@ forge -- a tool to manage lots of git repos. forge includes a GUI and TUI.
` `
} }
func (args) Appname() string {
return ARGNAME
}
func ifBlank(arg string) bool { func ifBlank(arg string) bool {
if arg == "''" { if arg == "''" {
// if empty, the user has not typed something // if empty, the user has not typed something
@ -180,6 +176,10 @@ func ifBlank(arg string) bool {
return false return false
} }
func (args) Appname() string {
return ARGNAME
}
func (a args) DoAutoComplete(pb *prep.Auto) { func (a args) DoAutoComplete(pb *prep.Auto) {
if pb.Cmd == "" { if pb.Cmd == "" {
pb.Autocomplete3([]string{"checkout", "clean", "commit", "config", "gui", "merge", "normal", "patch", "pull", "show"}) pb.Autocomplete3([]string{"checkout", "clean", "commit", "config", "gui", "merge", "normal", "patch", "pull", "show"})