summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go26
1 files changed, 14 insertions, 12 deletions
diff --git a/argv.go b/argv.go
index 8fe0b64..9f79d48 100644
--- a/argv.go
+++ b/argv.go
@@ -7,18 +7,20 @@ package main
var argv args
type args struct {
- List bool `arg:"--list" help:"list found repos"`
- ListConf bool `arg:"--list-conf" help:"list your .config/forge/ configuration"`
- Scan bool `arg:"--scan" help:"rescan your repos"`
- ReadOnly bool `arg:"--readonly" help:"include read-only repos"`
- GetMine bool `arg:"--mine" help:"download private and writeable repos"`
- GetFav bool `arg:"--favorites" help:"download repos marked as favorites"`
- Pull bool `arg:"--git-pull" help:"run 'git pull' on all your repos"`
- Build bool `arg:"--build" default:"true" help:"also try to build it"`
- Install bool `arg:"--install" help:"try to install every binary package"`
- RedoGoMod bool `arg:"--RedoGoMod" help:"remake all the go.sum and go.mod files"`
- DryRun bool `arg:"--dry-run" help:"show what would be run"`
- Real bool `arg:"--fix" help:"fix config, save config & exit"`
+ List bool `arg:"--list" help:"list found repos"`
+ ListConf bool `arg:"--list-conf" help:"list your .config/forge/ configuration"`
+ Scan bool `arg:"--scan" help:"rescan your repos"`
+ ReadOnly bool `arg:"--readonly" help:"include read-only repos"`
+ GetMine bool `arg:"--mine" help:"download private and writeable repos"`
+ GetFav bool `arg:"--favorites" help:"download repos marked as favorites"`
+ Pull bool `arg:"--git-pull" help:"run 'git pull' on all your repos"`
+ Build bool `arg:"--build" default:"true" help:"also try to build it"`
+ Install bool `arg:"--install" help:"try to install every binary package"`
+ RedoGoMod bool `arg:"--RedoGoMod" help:"remake all the go.sum and go.mod files"`
+ DryRun bool `arg:"--dry-run" help:"show what would be run"`
+ Real bool `arg:"--fix" help:"fix config, save config & exit"`
+ Repomap string `arg:"--repomap" help:"parse a repomap from gowebd"`
+ Clone bool `arg:"--clone" help:"go-clone things you are missing"`
}
func (args) Version() string {