DDN CLI: ddn completion
Generate autocompletion scripts for the DDN CLI for the zsh shell.
Synopsis
Generate the autocompletion script for DDN for the zsh shell.
If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions in your current shell session:
source <(ddn completion zsh)
To load completions for every new session, execute once:
Linux:
ddn completion zsh > "${fpath[1]}/_ddn"
macOS:
ddn completion zsh > $(brew --prefix)/share/zsh/site-functions/_ddn
You will need to start a new shell for this setup to take effect.
Options
-h, --help help for zsh completion
Options inherited from parent operations
--log-level string Log level. Can be DEBUG, WARN, INFO, ERROR, or FATAL. (default "INFO")
--no-prompt Do not prompt for required but missing flags
--out string Output format. Can be table, json or yaml. (default "table")
--timeout int Request timeout in seconds [env: HASURA_DDN_TIMEOUT] (default 100)
Parent operation
- ddn completion - Generate autocompletion scripts for the DDN CLI