Skip to content

Completion command

Kenneth Auchenberg edited this page Nov 2, 2019 · 7 revisions

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.

ZSH

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: mv stripe-completion.zsh %s

Bash

Running stripe completion will generate a stripe-completion.bash file, which you'll need to either source this file or move it to Bash's autocomplete folder.

To source, run: source stripe-completion.bash. To load automatically, move to bash's autocomplete directory: mv stripe-completion.bash %s

Windows

Windows is currently not supported.