Command: autocomplete
Description
Set up shell tab-completion for ShipThis CLI commands, topics, and flags.
tip
Autocomplete is a one-time setup. Once configured, it persists across terminal sessions and automatically covers new commands when you update the CLI.
After running shipthis autocomplete, you can press Tab to:
- Complete commands -- type
shipthis gthen Tab to complete togame - Complete subcommands -- type
shipthis gamethen Tab to list all game subcommands - Complete flags -- type
shipthis login --then Tab to see available flags
Supported shells: bash, zsh, and powershell.
Setup
Run the following command and follow the printed instructions for your shell:
After updating the CLI, refresh the autocomplete cache: