@percy/cli-build

Commands for interacting with Percy builds

Usage no npm install needed!

<script type="module">
  import percyCliBuild from 'https://cdn.skypack.dev/@percy/cli-build';
</script>

README

@percy/cli-build

Commands for interacting with Percy builds

Commands

percy build:finalize

Finalize parallel Percy builds

Usage:
  $ percy build:finalize [options]

Global options:
  -v, --verbose  Log everything
  -q, --quiet    Log errors only
  -s, --silent   Log nothing
  -h, --help     Display command help

percy build:wait

Wait for a build to be finished

Usage:
  $ percy build:wait [options]

Options:
  -b, --build <id>       Build ID
  -p, --project <slug>   Build project slug, requires '--commit'
  -c, --commit <sha>     Build commit sha, requires '--project'
  -t, --timeout <ms>     Timeout before exiting without updates, defaults to 10 minutes
  -i, --interval <ms>    Interval at which to poll for updates, defaults to 1 second
  -f, --fail-on-changes  Exit with an error when diffs are found

Global options:
  -v, --verbose          Log everything
  -q, --quiet            Log errors only
  -s, --silent           Log nothing
  -h, --help             Display command help

Examples:
  $ percy build:wait --build 2222222
  $ percy build:wait --project org/project --commit HEAD