rearrange
This commit is contained in:
parent
a478df2dcc
commit
4cd015b017
8
argv.go
8
argv.go
|
@ -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"})
|
||||||
|
|
Loading…
Reference in New Issue