diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -83,6 +83,7 @@ type UpgradeCmd struct { type PublishCmd struct { Protobuf bool `arg:"--protobuf" help:"force all protobufs to be republished"` + Strict bool `arg:"--strict" help:"run go-mod-clean strict"` Doit bool `arg:"--doit" help:"actually publish"` KeepGomod bool `arg:"--keep-gomod" help:"don't really do anything"` } @@ -95,7 +96,7 @@ type InstallCmd struct { type GitCmd struct { Log *EmptyCmd `arg:"subcommand:log" help:"git log"` Who *EmptyCmd `arg:"subcommand:who" help:"git who"` - Tag *EmptyCmd `arg:"subcommand:tag" help:"show tags"` + Tag *TagCmd `arg:"subcommand:tag" help:"show tags"` Pull *EmptyCmd `arg:"subcommand:pull" help:"pull the wit standard paths"` Push *EmptyCmd `arg:"subcommand:push" help:"push the wit standard paths"` Template string `arg:"--template" help:"create a new reup from a tempalte"` @@ -105,5 +106,9 @@ type GitCmd struct { DeleteUntracked bool `arg:"--delete-untracked" help:"delete the untracked files"` } +type TagCmd struct { + Delete string `arg:"--delete" help:"what tag to delete"` +} + type EmptyCmd struct { } |
