diff options
| author | Jeff Carr <[email protected]> | 2025-10-26 09:34:33 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-26 09:34:33 -0500 |
| commit | 3c25d4a6aa196b9b685d6c27dfaf6a4998b24598 (patch) | |
| tree | 336698b5e4a1557639cbfcba9528194bbf34c20a /argv.go | |
| parent | 5314952e14cedbb1d5827f66827c16a58ae05096 (diff) | |
new argvv0.7.115
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +package main + +var argv args + +type args struct { + Repo string `arg:"--repo" help:"repo namespace"` + AutoWork bool `arg:"--work" default:"false" 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" default:"false" help:"ignore weird clone errors from non-standard repos"` + // Fetch bool `arg:"--git-fetch" default:"false" help:"run 'git fetch' on all your repos"` +} |
