diff options
| -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...) } |
