diff options
| author | Jeff Carr <[email protected]> | 2025-10-26 10:17:14 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-26 10:17:14 -0500 |
| commit | d8451d71898fb96dd096a9d560f36ad52d460726 (patch) | |
| tree | 86b55b0b7281f9e4308e23c71c6a7e89721454f4 /argv.custom.go | |
| parent | 163590b99a4e36d6113fe40c426f8633aec68d33 (diff) | |
newer better argvv0.0.34
Diffstat (limited to 'argv.custom.go')
| -rw-r--r-- | argv.custom.go | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/argv.custom.go b/argv.custom.go deleted file mode 100644 index 4a8d6f6..0000000 --- a/argv.custom.go +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2017-2025 WIT.COM Inc. All rights reserved. -// Use of this source code is governed by the GPL 3.0 - -package main - -import ( - "os" - - "go.wit.com/lib/protobuf/argvpb" -) - -// sent via -ldflags -var VERSION string -var BUILDTIME string - -// used for shell auto completion -var APPNAME string = "regex" - -func (a args) Description() string { - return ` -regex -- interact with Googles' Gemini AI - ` -} - -// 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", "interact", "playback", "clean", "--version"} - pb.SendStrings(base) - } else { - pb.SubCommand(pb.Goargs...) - } - os.Exit(0) -} |
