summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-13 12:42:59 -0500
committerJeff Carr <[email protected]>2025-10-13 12:42:59 -0500
commit6966ab67f7dfb29d163087af9561ff7bc360ee7f (patch)
tree86d6215283539604e457745c882c47cfd46502e2 /argv.go
parent5ace0a45477ef0e3d06a94cfbbee7e623a7d56c7 (diff)
shortcut to make new git repos
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 {