Skip to main content

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 g then Tab to complete to game
  • Complete subcommands -- type shipthis game then 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:

Example

asciicast

Help Output