diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 37 |
1 files changed, 19 insertions, 18 deletions
@@ -15,24 +15,25 @@ import ( var argv args type args struct { - Checkout *CheckoutCmd `arg:"subcommand:checkout" help:"switch branches using 'git checkout'"` - Clean *CleanCmd `arg:"subcommand:clean" help:"start over at the beginning"` - Commit *EmptyCmd `arg:"subcommand:commit" help:"'git commit' but errors out if on wrong branch"` - Config *ConfigCmd `arg:"subcommand:config" help:"show your .config/forge/ settings"` - Dirty *DirtyCmd `arg:"subcommand:dirty" help:"show repos git says are dirty"` - GitFetch *FindCmd `arg:"subcommand:fetch" help:"run 'git fetch master'"` - List *FindCmd `arg:"subcommand:list" help:"print a table of the current repos"` - Patch *PatchCmd `arg:"subcommand:patch" help:"make patchsets"` - GitPull *FindCmd `arg:"subcommand:pull" help:"run 'git pull'"` - URL string `arg:"--connect" help:"forge url"` - All bool `arg:"--all" help:"git commit --all"` - Show string `arg:"--show" help:"show a repo"` - Build string `arg:"--build" help:"build a repo"` - Install string `arg:"--install" help:"install a repo"` - Force bool `arg:"--force" help:"try to strong arm things"` - Verbose bool `arg:"--verbose" help:"show more output"` - Bash bool `arg:"--bash" help:"generate bash completion"` - BashAuto []string `arg:"--auto-complete" help:"todo: move this to go-arg"` + Checkout *CheckoutCmd `arg:"subcommand:checkout" help:"switch branches using 'git checkout'"` + Clean *CleanCmd `arg:"subcommand:clean" help:"start over at the beginning"` + Commit *EmptyCmd `arg:"subcommand:commit" help:"'git commit' but errors out if on wrong branch"` + Config *ConfigCmd `arg:"subcommand:config" help:"show your .config/forge/ settings"` + Dirty *DirtyCmd `arg:"subcommand:dirty" help:"show repos git says are dirty"` + GitFetch *FindCmd `arg:"subcommand:fetch" help:"run 'git fetch master'"` + List *FindCmd `arg:"subcommand:list" help:"print a table of the current repos"` + Patch *PatchCmd `arg:"subcommand:patch" help:"make patchsets"` + GitPull *FindCmd `arg:"subcommand:pull" help:"run 'git pull'"` + URL string `arg:"--connect" help:"forge url"` + All bool `arg:"--all" help:"git commit --all"` + Build string `arg:"--build" help:"build a repo"` + Install string `arg:"--install" help:"install a repo"` + BuildForge bool `arg:"--forge-rebuild" help:"download and rebuild forge"` + Force bool `arg:"--force" help:"try to strong arm things"` + Verbose bool `arg:"--verbose" help:"show more output"` + Bash bool `arg:"--bash" help:"generate bash completion"` + BashAuto []string `arg:"--auto-complete" help:"todo: move this to go-arg"` + // Show string `arg:"--show" help:"show a repo"` } type EmptyCmd struct { |
