fish
The cldkctl completion fish command generates an autocomplete script for the Fish shell. This script enables command-line autocompletion for cldkctl, allowing you to quickly complete commands and flags by pressing the Tab key. The setup can be loaded temporarily for the current session or permanently for all new shell sessions.
Usage
cldkctl completion fish [flags]Steps
Follow the steps below to run and view the result of this command:
To enable autocompletion temporarily for your current shell session, run the following command:
cldkctl completion fish | sourceThis command will activate the autocompletion immediately but only until the current terminal session ends.
To enable autocompletion permanently for every new session, execute the command below once:
cldkctl completion fish > ~/.config/fish/completions/cldkctl.fishThis will create a completion file in your Fish configuration directory so that autocompletion is automatically available in all future sessions.
After setting up the file, restart your terminal or open a new shell session for the changes to take effect.
Once configured, you can type any cldkctl command and press Tab to auto-complete available commands, subcommands, or flags.
Flags
-h, --help
Help for the fish subcommand.
--help
Disable completion descriptions.
Last updated
