diff options
| author | Jeff Carr <[email protected]> | 2025-10-04 03:52:52 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-04 03:52:52 -0500 |
| commit | 455637d05718f7501b580db7852e1acc521b7c83 (patch) | |
| tree | efdd89f083902e81c81ca5d8607e120b212c212f /argv.go | |
| parent | 138b467849829da2348b3a13a797b6873b211cfb (diff) | |
add an auto-run optionv0.23.132
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,6 +21,7 @@ type args struct { Full bool `arg:"--full" help:"build every package"` Reason string `arg:"--reason" help:"tag message"` Force bool `arg:"--force" help:"try harder than normal"` + AutoRun bool `arg:"--auto-run" help:"automatically process everything"` Port int `arg:"--port" default:"9419" help:"do fun stuff with curl"` } @@ -66,7 +67,7 @@ func (args) Buildtime() (string, string) { func (a args) DoAutoComplete(pb *prep.Auto) { if pb.Cmd == "" { - pb.Autocomplete3([]string{"--bash", "quick", "--dry-run", "--full", "--reason", "--version"}) + pb.Autocomplete3([]string{"--bash", "quick", "--dry-run", "--full", "--reason", "--version", "--auto-run"}) } else { pb.SubCommand(pb.Goargs...) } |
