completion bash
opndossier completion bash¶
Generate the autocompletion script for bash
Synopsis¶
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 <(opndossier completion bash)
To load completions for every new session, execute once:
Linux:¶
opndossier completion bash > /etc/bash_completion.d/opndossier
macOS:¶
opndossier completion bash > $(brew --prefix)/etc/bash_completion.d/opndossier
You will need to start a new shell for this setup to take effect.
Options¶
Options inherited from parent commands¶
--color string Color output mode (auto, always, never) (default "auto")
--config string Configuration file path (default: $HOME/.opnDossier.yaml)
--debug Enable debug-level logging (all messages, for troubleshooting)
--device-type string Force device type (supported: opnsense, pfsense). Bypasses auto-detection.
--minimal Minimal output mode (suppresses progress and verbose messages)
--no-progress Disable progress indicators
-q, --quiet Suppress all output except errors and critical messages
--timestamps Include timestamps in log output
-v, --verbose Enable info-level logging (warnings, errors, and informational messages)
SEE ALSO¶
- opndossier completion - Generate the autocompletion script for the specified shell