CLI Commands

This page documents the active Reshot CLI surface used across setup, local capture, hosted publish, and certified-target workflows.

Global options

OptionDescription
--help, -hDisplay help for a command
--version, -VOutput the installed CLI version
--config, -cPath to the config file (default: reshot.config.json)

Setup and auth

reshot setup

Interactive setup wizard for first-run onboarding.

Terminal
reshot setup

reshot auth

Authenticate with hosted Reshot services when you want managed publish and review workflows.

Terminal
reshot auth

reshot init

Initialize reshot.config.json manually.

Terminal
reshot init

Recording

reshot record

Record a scenario from a live browser session.

Terminal
reshot record "Billing Overview" --browser
OptionDescription
--browserLaunch Chrome with remote debugging before recording
--url <url>Open a URL when launching the browser
--port <port>Override the Chrome debugging port
--refresh-sessionRefresh auth session without re-recording

reshot chrome

Hidden compatibility command for launching Chrome with debugging. Prefer reshot record --browser.

Execution

reshot run

Run scenarios from reshot.config.json.

Terminal
reshot run [options]
OptionDescription
--scenarios, -sComma-separated scenario keys
--all-variantsRun all configured variant combinations
--variant <json>Override a variant payload
--no-headlessRun the browser visibly
--concurrency <n>Parallel browser workers
--diffEnable baseline comparison
--cloudCompare against cloud baselines

reshot studio

Open the local review and management UI.

Terminal
reshot studio

reshot capture

Compatibility alias for reshot run and optional publish flows. Prefer reshot run and reshot publish in new docs.

Publishing and delivery

reshot publish

Upload assets to hosted delivery and create review items for changed visuals.

Terminal
reshot publish [options]
OptionDescription
--dry-runPreview without uploading
--message, -mPublish message override
--force, -fSkip confirmation
--tag <tag>Version tag for the publish

reshot pull

Download the published asset manifest.

Terminal
reshot pull [options]

reshot verify publish

Verify publish, pull, and hosted asset delivery.

Terminal
reshot verify publish [options]
OptionDescription
--scenarios, -sLimit verification to scenario keys
--tag <tag>Version tag for the verification publish
--message, -mPublish message override
--jsonOutput JSON report

Certified-target commands

reshot doctor target

Audit target configuration, readiness markers, and contract health.

Terminal
reshot doctor target [options]
OptionDescription
--scenarios, -sLimit auditing to scenario keys
--jsonOutput JSON report

reshot certify

Run the full certified-target pipeline.

Terminal
reshot certify [options]
OptionDescription
--scenarios, -sLimit certification to scenario keys
--tag <tag>Version tag for certification publish
--message, -mPublish message override
--jsonOutput JSON report

Status and drift management

reshot status

View project status, sync history, and drift summary.

Terminal
reshot status [options]

reshot drifts

List and manage drift items.

Terminal
reshot drifts [action] [id]

Environment variables

VariableDescription
RESHOT_API_KEYHosted API key used by publish and verify workflows
RESHOT_PROJECT_IDOptional project scope for hosted auth flows
RESHOT_DEBUGEnable verbose debugging output
CLI Commands — Reshot Docs | Reshot