summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/argv.go b/argv.go
index 4d1b935..fc828e9 100644
--- a/argv.go
+++ b/argv.go
@@ -10,12 +10,12 @@ package main
var argv args
type args struct {
- 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'"`
Merge *MergeCmd `arg:"subcommand:merge" help:"merge branches"`
+ 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"`
+ Clean *EmptyCmd `arg:"subcommand:clean" help:"'git clean' + reset repos to original state"`
Pull *PullCmd `arg:"subcommand:pull" help:"'git pull'"`
Normal *EmptyCmd `arg:"subcommand:normal" help:"shortcut to 'forge mode normal'"`
Patch *PatchCmd `arg:"subcommand:patch" help:"work with patches"`
@@ -62,8 +62,7 @@ type FixCmd struct {
}
type VerifyCmd struct {
- Namespace *EmptyCmd `arg:"subcommand:namespace" help:"check the namespaces"`
- DryRun bool `arg:"--dry-run" help:"try not to change anything"`
+ DryRun bool `arg:"--dry-run" help:"try not to change anything"`
}
type StatsCmd struct {
@@ -101,11 +100,12 @@ 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"`
- Stats *StatsCmd `arg:"subcommand:stats" help:"generate origin.pb"`
+ 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"`
+ Stats *StatsCmd `arg:"subcommand:stats" help:"generate origin.pb"`
+ Namespace *EmptyCmd `arg:"subcommand:namespace" help:"check the namespaces"`
}
type GenerateCmd struct {