diff options
| author | Jeff Carr <[email protected]> | 2025-10-30 19:16:16 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-30 19:16:16 -0500 |
| commit | dafb9c7028762f0c86499fc3fa557132064d37ec (patch) | |
| tree | ac80ba738dc48006def47921802e504e89ff6bfd /argv.go | |
| parent | 53654740343a08b0df7027e144323750a9960eb7 (diff) | |
wrong git syntax. more work on publishing
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 { } |
