summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index f4e3d3d..44ea8f9 100644
--- a/argv.go
+++ b/argv.go
@@ -28,7 +28,7 @@ type args struct {
Rdate *EmptyCmd `arg:"subcommand:rdate" help:"standard rdate"`
Zoo *EmptyCmd `arg:"subcommand:zoo" help:"WIT Private Cloud info"`
Upgrade *UpgradeCmd `arg:"subcommand:upgrade" help:"apt upgrade packages installed from mirrors.wit.com"`
- Publish *EmptyCmd `arg:"subcommand:publish" help:"publish packages"`
+ Publish *PublishCmd `arg:"subcommand:publish" help:"publish packages"`
RepoMap string `arg:"--repomap" help:"location of the repomap"`
DryRun bool `arg:"--dry-run" help:"only show what would be packaged"`
Install bool `arg:"--install" help:"go install the binaries first"`
@@ -68,6 +68,11 @@ type UpgradeCmd struct {
Force bool `arg:"--force" help:"force un-install and re-install each package"`
}
+type PublishCmd struct {
+ All bool `arg:"--all" help:"show all the packages"`
+ Gomod bool `arg:"--keep-gomod" help:"don't really do anything"`
+}
+
type DefaultCmd struct {
DryRun bool `arg:"--dry-run" help:"show what has not yet come to pass"`
Verbose bool `arg:"--verbose" help:"be loud about it"`