diff options
| author | Jeff Carr <[email protected]> | 2025-09-25 15:21:06 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-25 15:21:06 -0500 |
| commit | 479bf2eb410c96c268cd8c113b550687066bbb7e (patch) | |
| tree | 273a577fe9af9d86ee9f45da42bcfa4ff23640ee | |
| parent | 05e693826a91d5162d958a74b6b7d0fc3ab54f7e (diff) | |
| -rw-r--r-- | argv.go | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -22,8 +22,12 @@ type args struct { Reason string `arg:"--reason" help:"tag message"` Force bool `arg:"--force" help:"try harder than normal"` Port int `arg:"--port" default:"9419" help:"do fun stuff with curl"` - Bash bool `arg:"--bash" help:"generate bash completion"` - BashAuto []string `arg:"--auto-complete" help:"does the actual autocompletion"` +} + +func (args) Examples() string { + var out string + out += "guireleaser --full # release everything\n" + return out } type QuickCmd struct { @@ -58,7 +62,7 @@ func (args) Appname() string { func (a args) DoAutoComplete(pb *prep.Auto) { if pb.Cmd == "" { - pb.Autocomplete3([]string{"--bash", "quick"}) + pb.Autocomplete3([]string{"--bash", "quick", "--dry-run", "--full", "--reason"}) } else { pb.SubCommand(pb.Argv...) } |
