diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -96,6 +96,7 @@ type GitCmd struct { Tag *EmptyCmd `arg:"subcommand:tag" help:"show tags"` Pull *EmptyCmd `arg:"subcommand:pull" help:"pull the wit standard paths"` Push *EmptyCmd `arg:"subcommand:push" help:"push the wit standard paths"` + Create string `arg:"--create" help:"create new repo"` DeleteUntracked bool `arg:"--delete-untracked" help:"delete the untracked files"` } @@ -137,6 +138,11 @@ func (args) Appname() string { return ARGNAME } +func (args) ArgvGui() error { + me.myGui = fhelp.Gui() // adds the GUI package argv support + return nil +} + func (a args) DoAutoComplete(pb *prep.Auto) { base := []string{"--version", "build", "upgrade", "git", "publish", "--force", "--all", "pb", "linux"} if _, err := fhelp.CheckCmd("zood"); err == nil { |
