Skip to main content

targon completion

The targon completion command installs shell completions for the Targon CLI into your active virtualenv.

targon completion [OPTIONS]

Options

  • -s, --shell: Shell type to install completions for. Accepted values: bash, zsh, fish. If not provided, the shell type is auto-detected from your environment.

Requirements

You must have an active virtualenv (VIRTUAL_ENV environment variable must be set). The command appends the completion script to your virtualenv's activate file so that completions are available whenever the environment is activated.

targon completion
source "$VIRTUAL_ENV/bin/activate"