diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -22,6 +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)"` + Clean *CleanCmd `arg:"subcommand:clean" help:"clean out all local branches (safely)"` Examine *ExamineCmd `arg:"subcommand:examine" help:"examine branches"` URL string `arg:"--connect" help:"gowebd url"` All bool `arg:"--all" help:"git commit --all"` @@ -42,6 +43,10 @@ type ExamineCmd struct { Submit string `arg:"--submit" help:"name of patchset"` } +type CleanCmd struct { + Force *EmptyCmd `arg:"subcommand:force" help:"dangerously delete things that are not pushed upstream"` +} + type PatchCmd struct { List *EmptyCmd `arg:"subcommand:list" help:"list available patches"` Show *EmptyCmd `arg:"subcommand:show" help:"show a specific patch"` |
