Skip to main content

CLI reference

Commands

CommandDescription
check accessAccess contract
check configConfig contract
check migrationMigration contract
check boundaryBoundary contract
check webhookWebhook contract
check restoreRestore contract
check allEvery contract in config
validateParse YAML only
doctorCredential / config diagnostics
initScaffold config + optional MCP
remote-mcpPrint remote MCP JSON for Cursor

Global flags

FlagDescription
--config <path>Config file (default: prodverdict.yml)
--format text|json|agentOutput shape
--fixturesUse fixture data
--fixtures-dir <path>Scenario directory
--strictExit 1 on warn
--repo-root <path>Repo root for migration scan

Version

npx prodverdict --version

Upload to dashboard (optional)

export PRODVERDICT_API_URL=https://prodverdict.com
export PRODVERDICT_API_KEY=pv_...
export PRODVERDICT_PROJECT_ID=...

npx prodverdict check access --fixtures --upload

Examples

npx prodverdict init --stack nextjs-stripe --mcp --cursor-rule
npx prodverdict doctor --format agent
npx prodverdict check all --format agent