diff options
| author | Jeff Carr <[email protected]> | 2025-10-19 05:29:27 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-19 05:29:27 -0500 |
| commit | 6ca452fb52c847c92704b9cd6ad13c91234eadbf (patch) | |
| tree | 17644390434dd4ec1fe0d9b073b671669bb0f623 /main.go | |
| parent | 4802283a2819d977f2f1d2e052ce30dbc00b3489 (diff) | |
new argvv0.0.20
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,14 +4,14 @@ import ( "os" git "go.wit.com/lib/libgit2" + "go.wit.com/lib/protobuf/argvpb" "go.wit.com/log" ) -// are sent via -ldflags at buildtime -var VERSION string -var BUILDTIME string - func main() { + me = new(autoType) + me.argv = argvpb.Autocomplete(&argv) // adds shell auto complete to go-args + var repo *git.Repository if argv.Refs { repo, _ = showRefs() |
