Commands Overview#
opnDossier provides the following commands for working with OPNsense and pfSense configuration files. Commands that parse config.xml auto-detect the device type from the XML root element (<opnsense> or <pfsense>).
| Command | Alias | Purpose |
|---|---|---|
audit | Run security audit and compliance checks on configurations | |
convert | conv | Convert config.xml to structured output formats |
display | Render config.xml as formatted Markdown in terminal | |
validate | Check config.xml for structural and semantic correctness | |
diff | Compare two OPNsense configuration files | |
sanitize | Redact sensitive information from config.xml | |
config | Manage opnDossier configuration (init, show, validate) | |
version | Display version information |
For global flags (--verbose, --quiet, --config, etc.), see Configuration Reference. For the exhaustive auto-generated flag list for every command (regenerated from the Cobra command definitions via just generate-cli-docs), see the CLI Reference section.