summaryrefslogtreecommitdiff
path: root/argv.go
blob: d917f4d3bed06cdf17cc9de0aaa386324a11e914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package main

var argv args

type args struct {
	Repo         string `arg:"--repo"                         help:"repo namespace"`
	AutoWork     bool   `arg:"--work"                         help:"recreate the go.work file"`
	DryRun       bool   `arg:"--dry-run"                      help:"show what would be run"`
	NonRecursive bool   `arg:"--non-recursive"                help:"recursively clone all dependencies"`
	Build        bool   `arg:"--build"                        help:"try to build it after clone"`
	Install      bool   `arg:"--install"                      help:"try to install it after clone"`
	Ignore       bool   `arg:"--ignore"                       help:"ignore weird clone errors from non-standard repos"`
}