Generate the autocompletion script for fish
Generate the autocompletion script for the fish shell.
To load completions in your current shell session:
hostinger-mail completion fish | source
To load completions for every new session, execute once:
hostinger-mail completion fish > ~/.config/fish/completions/hostinger-mail.fish
You will need to start a new shell for this setup to take effect.
hostinger-mail completion fish [flags]
-h, --help[=true|false] help for fish
--no-descriptions[=true|false] disable completion descriptions
--config string Config file (default is $HOME/.hostinger-mail.yaml)
--dry-run[=true|false] Print the request as a curl command instead of sending it
-o, --format string Output format: table|json|yaml|tree (default: table on a terminal, json when piped)
--jq string Filter the JSON response with a jq expression, e.g. '.data[].id'
--no-input[=true|false] Never prompt; fail when an argument, flag or confirmation is missing
--verbose[=true|false] Print the config file used and each HTTP request to stderr
- hostinger-mail completion - Generate the autocompletion script for the specified shell