iagctl completion
Generate shell completion scripts.
The iagctl completion command outputs completion code for bash, zsh, or fish to enable interactive command completion in your shell.
Syntax
Set up completion on macOS
If you’re using Bash on macOS, you first need to install bash-completion using Homebrew. Run bash --version to check your version, then follow the steps for your version below.
Bash 3.2
Bash 4.1+
- Install bash-completion v1.x:
- Enable bash-completion:
- Install the gateway completion script:
With Bash 3.2, you need to run this command every time you update the gateway or switch your application mode to ensure you have the latest completion available.
- Reload your shell.
Set up completion on Linux
- Install bash-completion using your package manager:
- Reload your shell and verify the installation:
If this command fails, run:
- Install the gateway completion script:
- Reload your shell.
Set up completion for Zsh
- Install the gateway completion script:
- Reload your shell.
Set up completion for Fish
- Install the gateway completion script:
- Reload your shell.