summaryrefslogtreecommitdiff
path: root/argv.custom.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 10:17:37 -0500
committerJeff Carr <[email protected]>2025-10-26 10:17:37 -0500
commit6d74699580cd1d25e97e129a6e796bf324298663 (patch)
tree81ad1d13f4ee2d56d941d505d00b4d6c14cd1444 /argv.custom.go
parente1e8951cc3cad6db900ac1240512902936c4f97a (diff)
argv is better nowv0.0.68
Diffstat (limited to 'argv.custom.go')
-rw-r--r--argv.custom.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/argv.custom.go b/argv.custom.go
deleted file mode 100644
index ed6b731..0000000
--- a/argv.custom.go
+++ /dev/null
@@ -1,23 +0,0 @@
-package main
-
-import (
- "os"
-
- "go.wit.com/lib/protobuf/argvpb"
-)
-
-// are sent via -ldflags at buildtime
-var VERSION string
-var BUILDTIME string
-var APPNAME string = "forged"
-
-// sends the strings to bash or zsh that will be your options
-func (a args) SendCompletionStrings(pb *argvpb.Argv) {
- if pb.GetCmd() == "" {
- base := []string{"--bash", "repos", "gui", "patches", "--daemon", "missing"}
- pb.SendStrings(base)
- } else {
- pb.SubCommand(pb.Goargs...)
- }
- os.Exit(0)
-}