summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-30 19:16:16 -0500
committerJeff Carr <[email protected]>2025-10-30 19:16:16 -0500
commitdafb9c7028762f0c86499fc3fa557132064d37ec (patch)
treeac80ba738dc48006def47921802e504e89ff6bfd /argv.go
parent53654740343a08b0df7027e144323750a9960eb7 (diff)
wrong git syntax. more work on publishing
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 6779cf4..a282112 100644
--- a/argv.go
+++ b/argv.go
@@ -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 {
}