Skip to content

nodus completion bash

View Markdown

Generate the autocompletion script for bash

Generate the autocompletion script for the bash shell.

This script depends on the ‘bash-completion’ package. If it is not installed already, you can install it via your OS’s package manager.

To load completions in your current shell session:

source <(nodus completion bash)

To load completions for every new session, execute once:

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

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

nodus completion bash
-h, --help help for bash
--no-descriptions disable completion descriptions
--context string Context from the config file to use
--org string Organization (selects the context for that org)
-p, --project string Project to work in
-v, --verbose Log each API request (never credentials)