diff options
| author | Jeff Carr <[email protected]> | 2025-10-08 02:39:29 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-08 02:39:29 -0500 |
| commit | eb363e55753e2df2914bd9ca2a21339590828cf9 (patch) | |
| tree | 1ceab4c1f17e0e8a333b3bacfab54a400d77b08e /argv.go | |
| parent | 4ac3c0cae90ebca61ad753df3b944a9da363dd3a (diff) | |
add pb argv
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -27,6 +27,7 @@ type args struct { Clone *CloneCmd `arg:"subcommand:clone" help:"go-clone from a gowebd repomap"` Rdate *EmptyCmd `arg:"subcommand:rdate" help:"standard rdate"` Zoo *EmptyCmd `arg:"subcommand:zoo" help:"WIT Private Cloud info"` + PB *ProtoCmd `arg:"subcommand:pb" help:"WIT Private Cloud info"` Upgrade *UpgradeCmd `arg:"subcommand:upgrade" help:"apt upgrade packages installed from mirrors.wit.com"` Publish *PublishCmd `arg:"subcommand:publish" help:"publish packages"` RepoMap string `arg:"--repomap" help:"location of the repomap"` @@ -46,6 +47,10 @@ type BuildCmd struct { Install *DefaultCmd `arg:"subcommand:install" help:"run make install in each repo"` } +type ProtoCmd struct { + Indentify string `arg:"--identify" help:"identify a .pb file"` +} + type DebianCmd struct { Release bool `arg:"--release" help:"use go-deb --release"` DryRun bool `arg:"--dry-run" help:"only show what would be packaged"` @@ -128,7 +133,7 @@ func (args) Appname() string { } func (a args) DoAutoComplete(pb *prep.Auto) { - base := []string{"--version", "build", "upgrade", "git", "publish", "--force", "--all"} + base := []string{"--version", "build", "upgrade", "git", "publish", "--force", "--all", "pb"} if _, err := fhelp.CheckCmd("zood"); err == nil { base = append(base, "zoo") } |
