Skip to main content

Global Options

--path=<path>

WordPress installation path. Required for all commands that interact with WordPress. Can also be set via config set default_path <path>.

seo-ops meta get 123 title --path=/var/www/html
seo-ops audit full --path=/var/www/html

--format=<format>

Output format. Supported values depend on the command:

FormatCommands
tablemeta list, audit links, audit images, inventory, redirect list
jsonmeta export, audit full, audit links, audit report
csvmeta export, audit full, audit report, redirect export
mdaudit full, audit report
htmlaudit report

--output=<file>

Write output to file instead of stdout.

seo-ops meta export --format=csv --output=seo-meta.csv
seo-ops audit full --format=md --output=audit-report.md

--dry-run

Preview changes without writing to WordPress or local tracking files. Available on write/delete workflows that support dry-run mode.

seo-ops meta import data.csv --dry-run
seo-ops redirect add /old /new --dry-run

--debug

Enable verbose debug output.

--no-color

Disable colored terminal output. Useful for piping to files or CI.