github.com/goreleaser/goreleaser@v1.25.1/www/docs/cmd/goreleaser_completion_bash.md (about) 1 # goreleaser completion bash 2 3 Generate the autocompletion script for bash 4 5 ## Synopsis 6 7 Generate the autocompletion script for the bash shell. 8 9 This script depends on the 'bash-completion' package. 10 If it is not installed already, you can install it via your OS's package manager. 11 12 To load completions in your current shell session: 13 14 source <(goreleaser completion bash) 15 16 To load completions for every new session, execute once: 17 18 ### Linux: 19 20 goreleaser completion bash > /etc/bash_completion.d/goreleaser 21 22 ### macOS: 23 24 goreleaser completion bash > $(brew --prefix)/etc/bash_completion.d/goreleaser 25 26 You will need to start a new shell for this setup to take effect. 27 28 29 ``` 30 goreleaser completion bash 31 ``` 32 33 ## Options 34 35 ``` 36 -h, --help help for bash 37 --no-descriptions disable completion descriptions 38 ``` 39 40 ## Options inherited from parent commands 41 42 ``` 43 --debug Enable verbose mode (deprecated) 44 --verbose Enable verbose mode 45 ``` 46 47 ## See also 48 49 * [goreleaser completion](/cmd/goreleaser_completion/) - Generate the autocompletion script for the specified shell 50