Skip to content

completion

Generate the autocompletion scripts for the flexai CLI for the specified shell.

flexai completion [shell_name]
  1. Identify your shell:

    Terminal window
    echo $0
  2. Follow the instructions for your shell by visiting the corresponding command’s documentation page to enable autocompletion.

Alternatively, you can follow Cobra’s official documentation 🔗 for more detailed instructions on setting up shell completions.