summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go21
1 files changed, 11 insertions, 10 deletions
diff --git a/argv.go b/argv.go
index d386dcf..9d15e00 100644
--- a/argv.go
+++ b/argv.go
@@ -16,23 +16,24 @@ type FindCmd struct {
type args struct {
Find *FindCmd `arg:"subcommand:find" help:"select repos (for example, --all or --mine)"`
+ List *FindCmd `arg:"subcommand:list" help:"just show a table of the current state"`
+ User *FindCmd `arg:"subcommand:user" help:"git checkout user"`
+ Devel *FindCmd `arg:"subcommand:devel" help:"git checkout devel"`
+ Master *FindCmd `arg:"subcommand:master" help:"git checkout master"`
+ GitPull *FindCmd `arg:"subcommand:pull" help:"run 'git pull'"`
Config bool `arg:"--config" help:"show your .config/forge/ settings"`
ListPatchSet bool `arg:"--list-patchset" help:"list patch sets"`
DryRun bool `arg:"--dry-run" help:"show what would be run"`
Fix bool `arg:"--fix" help:"fix config, save config & exit"`
Delete string `arg:"--delete" help:"delete this repo"`
- User bool `arg:"--user" help:"git checkout user"`
- Devel bool `arg:"--devel" help:"git checkout devel"`
- Master bool `arg:"--master" help:"git checkout master"`
URL string `arg:"--connect" help:"gowebd url"`
Register string `arg:"--register" help:"register your git URL (foo.com/mystuff) or (github.com/foo/bar)"`
- List bool `arg:"--list" help:"just show a table of the current state"`
- GitPull bool `arg:"--pull" help:"run 'git pull'"`
- GitReset bool `arg:"--git-reset" help:"run 'git reset --hard'"`
- Scan bool `arg:"--scan" help:"reload protobuf from .git/"`
- Force bool `arg:"--force" help:"force redo things"`
- Dirty bool `arg:"--dirty" help:"update git CheckDirty()"`
- PatchSet string `arg:"--patchset" help:"make patch set"`
+ // List bool `arg:"--list" help:"just show a table of the current state"`
+ GitReset bool `arg:"--git-reset" help:"run 'git reset --hard'"`
+ Scan bool `arg:"--scan" help:"reload protobuf from .git/"`
+ Force bool `arg:"--force" help:"force redo things"`
+ Dirty bool `arg:"--dirty" help:"update git CheckDirty()"`
+ PatchSet string `arg:"--patchset" help:"make patch set"`
}
func (args) Version() string {