Skip to main content
Version: v3.x (DDN)

DDN CLI: ddn completion

Generate autocompletion scripts for the DDN CLI for the bash shell.

Synopsis

Generate the autocompletion script for DDN for the bash shell.

To load completions in your current shell session:

        source <(ddn completion bash)

To load completions for every new session, execute once:

Linux:

        ddn completion bash > /etc/bash_completion.d/ddn

macOS:

        ddn completion bash > $(brew --prefix)/etc/bash_completion.d/ddn

You will need to start a new shell for this setup to take effect.

Options

-h, --help   help for bash 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