mirror of
https://github.com/square/certigo.git
synced 2024-04-21 12:32:40 +00:00
Write shell completion scripts in build
This commit is contained in:
@@ -17,3 +17,8 @@ go build -o bin/certigo ${REPO_PATH}
|
||||
# Generate man page
|
||||
mkdir -p man
|
||||
bin/certigo --help-man > man/certigo.1
|
||||
|
||||
# Generate completion scripts
|
||||
mkdir -p shell
|
||||
bin/certigo --completion-script-zsh > shell/certigo.completion.zsh
|
||||
bin/certigo --completion-script-bash > shell/certigo.completion.bash
|
||||
|
||||
Reference in New Issue
Block a user