diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 33 |
1 files changed, 16 insertions, 17 deletions
@@ -10,23 +10,22 @@ package main var argv args type args struct { - Cache *CacheCmd `arg:"subcommand:cache" help:"chose the cache of repos to work with"` + Rebuild *RebuildCmd `arg:"subcommand:rebuild" help:"download all the forge sources and rebuild forge"` + Generate *GenerateCmd `arg:"subcommand:generate" help:"helps run autogenpb in repos with .proto files"` + Show *ShowCmd `arg:"subcommand:show" help:"show tables"` Clean *EmptyCmd `arg:"subcommand:clean" help:"'git clean' + reset repos to original state"` Commit *CommitCmd `arg:"subcommand:commit" help:"'git commit'"` - Config *ConfigCmd `arg:"subcommand:config" help:"show your .config/forge/ settings"` Merge *MergeCmd `arg:"subcommand:merge" help:"merge branches"` - Normal *EmptyCmd `arg:"subcommand:normal" help:"shortcut to 'forge mode normal'"` - Mode *ModeCmd `arg:"subcommand:mode" help:"sets the mode (hacking, merging, publishing)"` - Patch *PatchCmd `arg:"subcommand:patch" help:"work with patchsets"` Pull *PullCmd `arg:"subcommand:pull" help:"'git pull'"` - Show *ShowCmd `arg:"subcommand:show" help:"print out things"` + Normal *EmptyCmd `arg:"subcommand:normal" help:"shortcut to 'forge mode normal'"` + Patch *PatchCmd `arg:"subcommand:patch" help:"work with patches"` Dev *DevCmd `arg:"subcommand:dev" help:"features under development"` - Add *EmptyCmd `arg:"subcommand:add" help:"Scan directores for git repos"` - Fixer *FixCmd `arg:"subcommand:fixer" help:"send in the fixer"` + Mode *ModeCmd `arg:"subcommand:mode" help:"sets the mode (hacking, merging, publishing)"` + Cache *CacheCmd `arg:"subcommand:cache" help:"chose the cache of repos to work with"` Verify *VerifyCmd `arg:"subcommand:verify" help:"populate stats"` + Config *ConfigCmd `arg:"subcommand:config" help:"show your .config/forge/ settings"` + Add *EmptyCmd `arg:"subcommand:add" help:"Scan directores for git repos"` Whatchanged *EmptyCmd `arg:"subcommand:whatchanged" ` - Rebuild *RebuildCmd `arg:"subcommand:rebuild" help:"download all the forge sources and rebuild forge"` - Generate *GenerateCmd `arg:"subcommand:generate" help:"helps run autogenpb in repos with .proto files"` All bool `arg:"--all" help:"whatever you are doing, do it all over"` Force bool `arg:"--force" help:"try to strong-arm things"` Verbose bool `arg:"--verbose" help:"show more output than usual"` @@ -40,13 +39,12 @@ type EmptyCmd struct { type testCmd string type ShowCmd struct { - Dirty *EmptyCmd `arg:"subcommand:dirty" help:"show dirty git repos"` - DirtySave *EmptyCmd `arg:"subcommand:dirtysave" help:"check dirty then save"` - MasterDefault *EmptyCmd `arg:"subcommand:masterdefault" help:"run the default behavior for master branches"` - Mtime *EmptyCmd `arg:"subcommand:mtime" help:"show mtime changes"` - ENV *EmptyCmd `arg:"subcommand:ENV" help:"show the ENV"` - Repo *RepoCmd `arg:"subcommand:repos" help:"print a table of the current repos"` - Tag *TagCmd `arg:"subcommand:tag" help:"show git tags"` + Dirty *EmptyCmd `arg:"subcommand:dirty" help:"show dirty git repos"` + Mtime *EmptyCmd `arg:"subcommand:mtime" help:"show mtime changes"` + ENV *EmptyCmd `arg:"subcommand:ENV" help:"show lib/env"` + Tag *TagCmd `arg:"subcommand:tag" help:"show the git tag table"` + Repo *RepoCmd `arg:"subcommand:repos" help:"show repos by type. deprecate."` + // MasterDefault *EmptyCmd `arg:"subcommand:masterdefault" help:"run the default behavior for master branches"` } type RebuildCmd struct { @@ -106,6 +104,7 @@ type CommitCmd struct { type DevCmd struct { Build *EmptyCmd `arg:"subcommand:build" help:"build this repo"` Install *EmptyCmd `arg:"subcommand:install" help:"build & install this repo"` + Fixer *FixCmd `arg:"subcommand:fixer" help:"send in the fixer"` URL string `arg:"--connect" help:"forge url"` } |
