diff options
| author | Jeff Carr <[email protected]> | 2025-02-22 09:42:49 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-22 09:42:49 -0600 |
| commit | 1d4817f6af2e1f11fdba5caffa079524c01f5eea (patch) | |
| tree | 52948248e3535804336fb015d41a52419e1a4cc0 /argv.go | |
| parent | ec11efc34763260e7c93f883ebb7b6ceb502dfb2 (diff) | |
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 { |
