summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/argv.go b/argv.go
index 9a4a60f..f36b33c 100644
--- a/argv.go
+++ b/argv.go
@@ -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 {