Socket
Socket
Sign inDemoInstall

@percy/cli-exec

Package Overview
Dependencies
Maintainers
6
Versions
237
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
  • percy exec:ping
  • percy exec:start
  • percy exec:stop

percy exec

Start and stop Percy around a supplied command

USAGE
  $ percy exec

OPTIONS
  -c, --config=config                              configuration file path
  -h, --allowed-hostname=allowed-hostname          allowed hostnames
  -p, --port=port                                  [default: 5338] server port
  -q, --quiet                                      log errors only
  -t, --network-idle-timeout=network-idle-timeout  asset discovery idle timeout
  -v, --verbose                                    log everything
  --disable-asset-cache                            disable asset discovery caches
  --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
  -c, --config=config                              configuration file path
  -h, --allowed-hostname=allowed-hostname          allowed hostnames
  -p, --port=port                                  [default: 5338] server port
  -q, --quiet                                      log errors only
  -t, --network-idle-timeout=network-idle-timeout  asset discovery idle timeout
  -v, --verbose                                    log everything
  --disable-asset-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 06 Aug 2020

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