diff options
| author | Jeff Carr <[email protected]> | 2025-10-07 20:56:57 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-07 20:56:57 -0500 |
| commit | 3aefc810ff90c80baf1ee485d75551d97f2d5c09 (patch) | |
| tree | c01fb4f5fa19e1f609a859bee46e3fbf006c1984 /argv.go | |
| parent | 34ac2291bc0d9321b078cf70f81684fc4d14e7e8 (diff) | |
make a "fix" subcommand
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -60,8 +60,9 @@ type ShowCmd struct { } type FixCmd struct { - Urls bool `arg:"--urls" help:"check for changes in repo urls"` - Untracked bool `arg:"--untracked" help:"git untracked file list"` + Urls bool `arg:"--urls" help:"check for changes in repo urls"` + Untracked bool `arg:"--untracked" help:"git untracked file list"` + DeleteUser bool `arg:"--delete-user" help:"delete all user branches (checks for safety)"` } func (ShowCmd) Examples() string { @@ -96,7 +97,6 @@ type DevCmd struct { Build *EmptyCmd `arg:"subcommand:build" help:"build this repo"` Install *EmptyCmd `arg:"subcommand:install" help:"build & install this repo"` Generate string `arg:"--generate" help:"run go generate"` - DeleteUser bool `arg:"--delete-user" help:"delete all user branches (checks for safety)"` BuildForge bool `arg:"--forge-rebuild" help:"download all the forge sources and rebuild forge"` URL string `arg:"--connect" help:"forge url"` Prune bool `arg:"--prune" help:"'git fetch --prune' everywhere"` @@ -158,7 +158,6 @@ type MergeCmd struct { type ConfigCmd struct { Add *ConfigAddCmd `arg:"subcommand:add" help:"add a config setting"` - Fix *EmptyCmd `arg:"subcommand:fix" help:"fix .config/forge/ and/or repos.pb protobuf file"` List *EmptyCmd `arg:"subcommand:list" help:"list your config settings"` Delete string `arg:"--delete" help:"delete this repo"` Register string `arg:"--register" help:"register your git URL (foo.com/mystuff) or (github.com/foo/bar)"` |
