Skip to main content
CLICommands

All Commands

Full reference for every VertaaUX CLI command including audit, baseline, diff, and policy with usage examples

Complete reference for all commands available in the VertaaUX CLI.

Command Overview

CommandDescriptionCategory
auditRun UX and accessibility auditsCore
baselineCreate audit baselinesCore
diffCompare audit resultsCore
policyManage policy-as-codeCore
loginAuthenticate with VertaaUXAuth
logoutClear stored credentialsAuth
whoamiShow authentication statusAuth
initInitialize project configurationSetup
doctorDiagnose CLI healthUtility
statusGet audit job statusUtility
commentGenerate PR comment markdownCI/CD
uploadUpload audit results to cloudStorage
downloadDownload audit results from cloudStorage
explainAI-powered audit summary or finding evidenceAnalysis
fixGenerate fix patch for issueRemediation
fix-allGenerate patches for all issuesRemediation
verifyVerify patch fixes issueRemediation
suggestConvert intent to CLI commandAI
triageP0/P1/P2 priority bucketsAI
fix-planStructured remediation planAI
patch-reviewDiff safety reviewAI
release-notesGenerate release notesAI
docTeam Playbook from findingsAI
a11yAccessibility-focused auditAlias
scanUX scan (alias for audit)Alias
compareCompare two URL audits or LLM analysisAlias

Core Commands

audit

Run UX and accessibility audits on websites.

$vertaa audit https://example.com

Key Options:

OptionDescription
--modeAudit depth: basic, standard, deep
--formatOutput: human, json, sarif, junit, html (per-command)
-o, --outputWrite results to file
--fail-onExit 1 on severity: error, warning, info
--thresholdExit 3 if score below value
--baselineCompare against baseline file
--wait / --no-waitWait for audit completion (default: wait)

Full audit reference


baseline

Create and manage audit baselines for tracking improvements.

$vertaa baseline <job-id>

Key Options:

OptionDescription
--path <path>Baseline file path (default: .vertaaux/baseline.json)
--from-file <file>Create baseline from JSON audit file
--ignore <id>Add single issue to existing baseline
--reason <text>Reason for baseline/ignore
--listShow baselined issues count and last update

Full baseline reference


diff

Compare audit results against a baseline to find new/resolved issues.

$vertaa diff [job-id]

Key Options:

OptionDescription
--baseline <path>Baseline file path (default: .vertaaux/baseline.json)
--compare <job-id>Compare two audit jobs directly instead of baseline
--from-file <file>Read current audit from JSON file instead of API
--formatOutput: human, json (per-command)
--verboseShow all present issues (not just new/fixed)

Full diff reference


policy

Manage policy-as-code configuration.

$vertaa policy init

Subcommands:

SubcommandDescription
initCreate starter policy file
validateCheck policy syntax
showDisplay effective policy
schemaOutput JSON schema

Full policy reference


Authentication Commands

login

Authenticate with your VertaaUX account.

$vertaa login

Authenticates via device code flow (interactive) or direct token (CI).

Credentials are stored in ~/.vertaaux/credentials.json.

Options:

OptionDescription
--token <token>Use API token directly (for CI/non-interactive use)
--ssoUse SSO login (not yet implemented)
-b, --base <url>API base URL

logout

Clear stored credentials.

$vertaa logout

Removes credentials from ~/.vertaaux/credentials.json.


whoami

Show current authentication status.

$vertaa whoami
Authenticated as: user@example.com
Plan: Pro
Credits remaining: 950/1000

Setup Commands

init

Initialize VertaaUX configuration in your project.

$vertaa init

Creates .vertaaux.yml with sensible defaults. Runs an interactive wizard unless --yes is provided.

Options:

OptionDescription
-y, --yesSkip prompts, use defaults
--ci <provider>CI provider: github, gitlab, circleci, azure, jenkins, none
--fail-on <severity>Fail CI on severity: error, warning, info
--threshold <score>Minimum score threshold (0-100)
-f, --forceOverwrite existing configuration

Utility Commands

doctor

Diagnose CLI health: configuration, authentication, and network connectivity.

$vertaa doctor

Checks performed:

  • Configuration file validity
  • Authentication status (stored credentials or environment tokens)
  • API connectivity

Options:

OptionDescription
--onlineVerify auth credentials against API (default: offline check)
--deepAlso run output contract self-tests
--formatOutput: human, json

status

Get the status of an audit job.

$vertaa status job_abc123

Options:

OptionDescription
--fail-on-score <n>Exit 1 if score below n (0-100)

comment

Generate PR comment markdown from audit results.

$vertaa comment --input results.json

Options:

OptionDescription
--input <file>Audit results file
--formatOutput: json, markdown (per-command)
--baseline <path>Baseline file for comparison
--postPost comment to PR (requires token)
--pr <number>PR number for posting

CI Integration

Use vertaa comment in CI to automatically add audit summaries to pull requests.


Storage Commands

upload

Upload local audit results to VertaaUX cloud. If no job-id is given, uses the most recent artifact in .vertaaux/artifacts/.

$vertaa upload [job-id]

Options:

OptionDescription
--baselineAlso upload baseline file
--project <name>Cloud project name (default: current directory name)
-b, --base <url>API base URL

download

Download audit results from VertaaUX cloud.

$vertaa download <job-id>

Options:

OptionDescription
--baselineAlso download baseline file
-o, --output <path>Output directory (default: .vertaaux)
-b, --base <url>API base URL
-f, --forceOverwrite existing files without prompting

Analysis Commands

explain

Explain audit findings with AI, or show evidence for a specific finding.

Two modes:

  • AI mode (no finding-id): Accepts full audit JSON via stdin, --file, or --job. Produces a 3-bullet summary and per-issue explanations. Use --verbose for full evidence per issue.
  • Evidence mode (with finding-id): Shows the full evidence bundle for a specific finding (backward compatible).
$vertaa audit https://example.com --json | vertaa explain
$vertaa explain color-contrast-001 --job abc123

Options:

OptionDescription
--formatOutput: human, json (per-command)
--job <id>Job ID (for fetching audit data or finding)
--file <path>Load audit JSON from file
--verboseShow full evidence per issue (AI mode)

Remediation Commands

fix

Generate a fix patch for a specific issue.

$vertaa fix <job-id> --issue <id> --file-content <code>

Options:

OptionDescription
--issue <id>Issue ID to fix (required)
--file-content <code>Source code content (required)

fix-all

Generate fix patches for all issues in an audit.

$vertaa fix-all <job-id> --file-content <code>

Options:

OptionDescription
--file-content <code>Source code content (required)
--auto-fix-onlyOnly process auto-fixable issues

Review Before Applying

Always review generated patches before applying. AI-generated fixes may need manual adjustment.


verify

Verify that a patch successfully fixes an issue.

$vertaa verify --search <text> --replace <text> --issue <id> --url <url> --selector <css>

Runs a targeted audit to confirm the issue is resolved.

Options:

OptionDescription
--search <text>Search pattern (required)
--replace <text>Replace pattern (required)
--issue <id>Issue ID (required)
--url <url>Target URL (required)
--selector <css>CSS selector (required)
--timeout <ms>Timeout in milliseconds

AI Intelligence Commands

AI commands use server-side LLM processing to provide intelligent analysis of audit results. All AI commands require authentication (vertaa login or VERTAAUX_API_KEY). They accept input via stdin pipe, --file, or --job.

Full AI commands reference

suggest

Convert natural language intent into exact CLI commands.

$vertaa suggest "check contrast on my site"

Uses a local command catalog first, falling back to the API for complex intents. No audit data required.

Options:

OptionDescription
--formatOutput: human, json

triage

Prioritize audit findings into P0/P1/P2 buckets with effort estimates and quick-wins.

$vertaa audit https://example.com --json | vertaa triage

Options:

OptionDescription
--job <id>Fetch audit data from a job ID
--file <path>Load audit JSON from file
--formatOutput: human, json
--verboseExpand each priority bucket with full details

fix-plan

Generate a structured remediation plan with ordered steps, effort estimates, and code hints.

$vertaa audit https://example.com --json | vertaa fix-plan

Options:

OptionDescription
--job <id>Fetch audit data from a job ID
--file <path>Load audit JSON from file
--formatOutput: human, json

patch-review

Review a patch/diff against audit findings for safety. Returns a SAFE, UNSAFE, or NEEDS_REVIEW verdict.

$gh pr diff 123 | vertaa patch-review --job abc123

Options:

OptionDescription
--job <id>Fetch findings from a job ID
--findings <path>Load findings JSON from file
--diff-file <path>Load diff from file instead of stdin
--formatOutput: human, json

release-notes

Generate developer and PM release notes from audit diff data.

$vertaa diff --job-a abc --job-b def --json | vertaa release-notes

Options:

OptionDescription
--file <path>Load diff JSON from file
--job-a <id>First audit job ID (baseline)
--job-b <id>Second audit job ID (current)
--formatOutput: human, json, markdown

doc

Generate a Team Playbook document from recurring audit findings -- patterns, root causes, correct implementations, and checklists.

$vertaa audit https://example.com --json | vertaa doc --team Frontend

Options:

OptionDescription
--job <id>Fetch audit data from a job ID
--file <path>Load audit JSON from file
--team <name>Team name for the playbook header
--formatOutput: json, markdown

Alias Commands

These commands are aliases for common operations:

a11y

Accessibility-focused audit. Alias for audit --category accessibility.

$vertaa a11y https://example.com

scan

General UX scan. Alias for audit.

$vertaa scan https://example.com

compare

Compare two audits -- by URL (runs audits and shows score deltas) or by file (LLM-powered narrative analysis).

$vertaa compare https://v1.example.com https://v2.example.com --wait
$vertaa compare --before baseline.json --after current.json

Options:

OptionDescription
--before <path>Baseline audit JSON file (LLM mode)
--after <path>Current audit JSON file (LLM mode)
--waitWait for audits to complete (URL mode)
--verboseShow category score deltas and full narrative
--formatOutput: human, json

Global Options

These options work with any command:

OptionDescription
-h, --helpShow help for command
-v, --versionShow CLI version
-b, --base <url>API base URL override
-c, --config <path>Explicit config file path
-q, --quietSuppress banner and non-essential output
--no-bannerHide the V-mark banner
--machineStrict machine-readable output (JSON stdout, diagnostics stderr)
--color / --no-colorForce or disable colored output
--dashboard / --no-dashboardForce or disable live dashboard
--dry-runShow what would happen without executing
-y, --yesAuto-confirm all interactive prompts
--verboseExpand output with additional details

Environment Variables

VariableDescription
VERTAAUX_API_KEYAPI authentication key
VERTAAUX_TOKENAlternative auth token (used by CI token detection)
VERTAAUX_API_BASEAPI base URL override
VERTAAUX_AUTH_BASEAuth endpoint override (default: https://vertaaux.ai)
VERTAAUX_LOG_LEVELLog verbosity: debug, info, warn, error (default: info)
VERTAAUX_LOG_JSONStructured JSON logs (default: false)
NO_COLORDisable colored output
FORCE_COLORForce colored output

Exit Codes

CodeMeaning
0Success
1Issues found / Quality gate failed
2Command error (invalid input, network error)
3Score below threshold
130Interrupted (Ctrl+C)

Was this page helpful?