Socket
Socket
Sign inDemoInstall

@percy/cli-exec

Package Overview
Dependencies
Maintainers
6
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/cli-exec

capture and upload snapshots


Version published
Weekly downloads
364K
increased by0.29%
Maintainers
6
Weekly downloads
 
Created
Source

@percy/cli-exec

Percy CLI commands for running a local snapshot server using @percy/core.

Commands

percy exec

Start and stop Percy around a supplied command

USAGE
  $ percy exec

OPTIONS
  -P, --port=port                                  [default: 5338] server port
  -c, --config=config                              configuration file path
  -d, --dry-run                                    print logs only, do not run asset discovery or upload snapshots
  -h, --allowed-hostname=allowed-hostname          allowed hostnames to capture in asset discovery
  -q, --quiet                                      log errors only
  -t, --network-idle-timeout=network-idle-timeout  asset discovery network idle timeout
  -v, --verbose                                    log everything
  --debug                                          debug asset discovery and do not upload snapshots
  --disable-cache                                  disable asset discovery caches
  --parallel                                       marks the build as one of many parallel builds
  --partial                                        marks the build as a partial build
  --silent                                         log nothing

EXAMPLES
  $ percy exec -- echo "percy is running around this echo command"
  $ percy exec -- yarn test

percy exec:ping

Pings a local running Percy snapshot server

USAGE
  $ percy exec:ping

OPTIONS
  -P, --port=port  [default: 5338] server port
  -q, --quiet      log errors only
  -v, --verbose    log everything
  --silent         log nothing

percy exec:start

Starts a local Percy snapshot server

USAGE
  $ percy exec:start

OPTIONS
  -P, --port=port                                  [default: 5338] server port
  -c, --config=config                              configuration file path
  -d, --dry-run                                    print logs only, do not run asset discovery or upload snapshots
  -h, --allowed-hostname=allowed-hostname          allowed hostnames to capture in asset discovery
  -q, --quiet                                      log errors only
  -t, --network-idle-timeout=network-idle-timeout  asset discovery network idle timeout
  -v, --verbose                                    log everything
  --debug                                          debug asset discovery and do not upload snapshots
  --disable-cache                                  disable asset discovery caches
  --silent                                         log nothing

EXAMPLES
  $ percy exec:start
  $ percy exec:start &> percy.log

percy exec:stop

Stops a local running Percy snapshot server

USAGE
  $ percy exec:stop

OPTIONS
  -P, --port=port  [default: 5338] server port
  -q, --quiet      log errors only
  -v, --verbose    log everything
  --silent         log nothing

FAQs

Package last updated on 20 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc