diff options
| author | Jeff Carr <[email protected]> | 2025-01-18 03:13:18 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-18 03:13:18 -0600 |
| commit | a04e1784d1c892fa66a35179ef8f49006e9208b2 (patch) | |
| tree | 9bc909be4cb1109aa5ca3592969a3c845fd9dfb7 /argv.go | |
| parent | 2b10e228d276b0a81b79bbdaf881f44a6f9208fb (diff) | |
identify and fix out of sync user branches
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -22,7 +22,7 @@ type args struct { Rescan *EmptyCmd `arg:"subcommand:rescan" help:"recreate the git protobuf repos.pb file"` Delete *EmptyCmd `arg:"subcommand:delete" help:"untrack a repo"` Commit *EmptyCmd `arg:"subcommand:commit" help:"smart 'git commit' (errors out if on wrong branch)"` - Examine *EmptyCmd `arg:"subcommand:examine" help:"examine branches"` + Examine *ExamineCmd `arg:"subcommand:examine" help:"examine branches"` URL string `arg:"--connect" help:"gowebd url"` All bool `arg:"--all" help:"git commit --all"` Show string `arg:"--show" help:"show a repo"` @@ -36,10 +36,16 @@ type EmptyCmd struct { type testCmd string +type ExamineCmd struct { + Fix *EmptyCmd `arg:"subcommand:fix" help:"try to auto fix branches"` + Show *EmptyCmd `arg:"subcommand:show" help:"show a specific patch"` + Submit string `arg:"--submit" help:"name of patchset"` +} + type PatchCmd struct { List *EmptyCmd `arg:"subcommand:list" help:"list available patches"` Show *EmptyCmd `arg:"subcommand:show" help:"show a specific patch"` - Submit string `arg:"--submit" help:"name of patchset"` + Submit string `arg:"--submit" help:"submit a new patchset with name"` } type ConfigAddCmd struct { |
