
percy/cli
Releases340
Frequency6 days 7 hours
Last Release
Stars88
The Percy CLI is used to interact with, and upload snapshots to, percy.io via the command line.
Linked projects
[](https://github.com/percy/cli/actions)
Uses [`@percy/config`](/packages/config) to add CLI commands for creating, validating, and updating Percy configuration files.
Percy CLI commands for running a local snapshot server using [`@percy/core`](./packages/core).
Snapshot a list or static directory of web pages.
Percy CLI command to upload a directory of static images to Percy for diffing.
Commands for interacting with Percy builds
Communicate with Percy's API to create builds and snapshots, upload resources, and finalize builds and snapshots. Uses [`@percy/env`](.packages/env) to send environment information with new builds. Can also be used to query for a project's builds using a
Common logger used throughout the Percy CLI and SDKs.
Percy CLI command parser and runner.
Common JavaScript SDK utils
The core component of Percy's CLI and SDKs that handles creating builds, discovering snapshot assets, uploading snapshots, and finalizing builds. Uses `@percy/client` for API communication, a Chromium browser for asset discovery, and starts a local API se
Handles loading and adding options to Percy configuration files. Uses [cosmiconfig](https://github.com/davidtheclark/cosmiconfig) to load configuration files and [JSON schema](https://json-schema.org/) with [AJV](https://github.com/epoberezkin/ajv) to val
Serializes a document's DOM into a DOM string suitable for re-rendering.
This package provides various CI/CD support for Percy by coalescing different environment variables into a common interface for consumption by `@percy/client`.