opnDossier completion#
Generate completion script
Synopsis#
To load completions:
Bash:
$ source <(opndossier completion bash)
To load completions for each session, execute once:#
Linux:#
$ opndossier completion bash > /etc/bash_completion.d/opndossier
macOS:#
$ opndossier completion bash > $(brew --prefix)/etc/bash_completion.d/opndossier
Zsh:
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 for each session, execute once:#
$ opndossier completion zsh > "${fpath[1]}/_opndossier"
You will need to start a new shell for this setup to take effect.#
fish:
$ opndossier completion fish | source
To load completions for each session, execute once:#
$ opndossier completion fish > ~/.config/fish/completions/opndossier.fish
PowerShell:
PS> opndossier completion powershell | Out-String | Invoke-Expression
To load completions for every new session, run:#
PS> opndossier completion powershell > opndossier.ps1
and source this file from your PowerShell profile.#
opnDossier completion [bash|zsh|fish|powershell]
Options#
-h, --help help for completion
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 - opnDossier: A CLI tool for processing OPNsense and pfSense configuration files.