config validate
opnDossier config validate¶
Validate a configuration file
Synopsis¶
Validate a configuration file for syntax and semantic errors.
This command checks that a configuration file is valid YAML and that all configuration options are recognized and have valid values. It reports errors with line numbers where possible.
Exit codes: 0 - Configuration is valid 5 - Configuration validation error
Examples: # Validate the default configuration file opnDossier config validate
# Validate a specific configuration file opnDossier config validate /path/to/config.yaml
# Validate configuration in CI/CD pipeline opnDossier config validate ~/.opnDossier.yaml || exit 1
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 config - Manage opnDossier configuration