-
Notifications
You must be signed in to change notification settings - Fork 380
Completion command
Stripe CLI supports autocompletion for macOS and Linux to make it easier for you to use the right commands with the CLI.
You set started by setting up autocompletion by running stripe completion
and depending on your platform and shell the relevant instructions are show to you.
Running stripe completion
will generate a stripe-completion.zsh
file, which you'll need to either source this file or move it to zsh's autocomplete folder.
To source, run: source stripe-completion.zsh
.
To load automatically, move to zsh's autocomplete directory or do a directory of your own like:
mv stripe-completion.zsh ~/.stripe
Include the directory in your $fpath, for example by adding in ~/.zshrc:
fpath=("~/.stripe" $fpath)
Curious to learn more about ZSH autocompletion scripts? We recommend, https://mads-hartmann.com/2017/08/06/writing-zsh-completion-scripts.html
TBD.
Windows is currently not supported.