Shell Autocompletion
The stackgen completion
command generates autocompletion scripts for various shells to enhance your command-line experience with the StackGen CLI. This makes it easier to use StackGen commands by providing tab completion for commands, flags, and arguments.
Usage
stackgen completion [subcommand] [flags]
Common Flags
Flag | Description |
---|---|
-h , --help | Help for the command |
--no-descriptions | Disable completion descriptions |
Subcommands
Here's an overview of the available subcommands:
bash
Generate the autocompletion script for Bash shell. This subcommand creates a script that provides tab completion for StackGen commands, significantly improving your productivity when working with the CLI in Bash environments, which are common in Linux distributions and macOS.
fish
Generate the autocompletion script for Fish shell. This subcommand helps users of the Fish shell get intelligent tab completion for StackGen commands. Fish is a smart and user-friendly shell that is becoming increasingly popular among developers.
powershell
Generate the autocompletion script for PowerShell. This subcommand creates completion scripts for Microsoft PowerShell, making it easier to work with StackGen CLI on Windows systems or for users who prefer PowerShell on other platforms.
zsh
Generate the autocompletion script for Zsh shell. This subcommand provides tab completion support for the Z shell (Zsh), which is the default shell in macOS and a popular alternative to Bash on many Linux distributions.