Skip to main content
VertaaUX Docs
CLICommands

All Commands

Complete reference for all VertaaUX CLI commands

All Commands

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
statusGet audit job statusUtility
commentGenerate PR comment markdownCI/CD
uploadUpload audit results to cloudStorage
downloadDownload audit results from cloudStorage
explainShow evidence bundle for findingAnalysis
fixGenerate fix patch for issueRemediation
fix-allGenerate patches for all issuesRemediation
verifyVerify patch fixes issueRemediation
a11yAccessibility-focused auditAlias
scanUX scan (alias for audit)Alias
compareCompare two URL auditsAlias

Core Commands

audit

Run UX and accessibility audits on websites.

$vertaa audit -u https://example.com

Key Options:

OptionDescription
-u, --urlURL to audit (required)
--modeAudit depth: basic, standard, deep
--formatOutput: human, json, sarif, junit, html
-o, --outputWrite results to file
--fail-onExit 1 on severity: error, warning, info
--thresholdExit 3 if score below value
--baselineCompare against baseline file

Full audit reference


baseline

Create and manage audit baselines for tracking improvements.

$vertaa baseline -u https://example.com -o baseline.json

Key Options:

OptionDescription
-u, --urlURL to audit for baseline
-o, --outputOutput file path
--updateUpdate existing baseline
--modeAudit mode for baseline

Full baseline reference


diff

Compare two audit results to identify changes.

$vertaa diff --before old.json --after new.json

Key Options:

OptionDescription
--baselineCompare against baseline file
--beforeFirst audit (file or URL)
--afterSecond audit (file or URL)
--formatOutput: human, json, markdown

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

Prompts for your API key and stores credentials in ~/.vertaaux/config.json.

Options:

OptionDescription
--keyProvide API key directly (not recommended)
--no-saveDon't store credentials

logout

Clear stored credentials.

$vertaa logout

Removes credentials from ~/.vertaaux/config.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.

Options:

OptionDescription
--urlDefault URL for audits
--modeDefault audit mode
--ciInclude CI/CD templates
--policyAlso create policy file

Utility Commands

status

Get the status of an audit job.

$vertaa status job_abc123

Options:

OptionDescription
--waitWait for job completion
--formatOutput format: human, json

comment

Generate PR comment markdown from audit results.

$vertaa comment --file results.json --format github

Options:

OptionDescription
--fileAudit results file
--formatPlatform: github, gitlab, bitbucket
--postActually post comment (requires token)
--prPR number for posting

CI Integration

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


Storage Commands

upload

Upload audit results to VertaaUX cloud storage.

$vertaa upload results.json

Returns a shareable link to the results.

Options:

OptionDescription
--nameCustom name for the upload
--expiresExpiration: 1d, 7d, 30d, never
--publicMake publicly accessible

download

Download audit results from cloud storage.

$vertaa download abc123 -o results.json

Arguments:

ArgumentDescription
idUpload ID or share token

Options:

OptionDescription
-o, --outputOutput file path

Analysis Commands

explain

Show detailed evidence bundle for a specific finding.

$vertaa explain finding_abc123

Displays:

  • Full rule description
  • Why this matters (impact)
  • Screenshots/DOM snapshots
  • Suggested fixes
  • Related findings

Options:

OptionDescription
--formatOutput: human, json, html
--evidenceDownload evidence files

Remediation Commands

fix

Generate a fix patch for a specific issue.

$vertaa fix finding_abc123

Outputs a git-compatible patch to fix the issue.

Options:

OptionDescription
--applyApply patch directly
--filePath to source file
-o, --outputWrite patch to file

fix-all

Generate patches for all fixable issues.

$vertaa fix-all results.json -o patches/

Creates individual patch files for each fixable issue.

Options:

OptionDescription
--applyApply all patches
-o, --outputOutput directory
--severityFilter by severity

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 finding_abc123 --patch fix.patch

Runs a targeted audit to confirm the issue is resolved.

Options:

OptionDescription
--patchPatch file to verify
--urlURL to test against

Alias Commands

These commands are aliases for common operations:

a11y

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

$vertaa a11y -u https://example.com

scan

General UX scan. Alias for audit.

$vertaa scan -u https://example.com

compare

Compare two URLs directly. Alias for diff --before <url1> --after <url2>.

$vertaa compare https://v1.example.com https://v2.example.com

Global Options

These options work with any command:

OptionDescription
--help, -hShow help for command
--version, -VShow CLI version
--verbose, -vVerbose output
--quiet, -qSuppress non-essential output
--no-colorDisable colored output
--configPath to config file

Environment Variables

VariableDescription
VERTAA_API_KEYAPI key for authentication
VERTAA_DEFAULT_URLDefault URL for audits
VERTAA_CONFIGPath to config file
NO_COLORDisable colored output
HTTPS_PROXYProxy server URL

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?

On this page