Socket
Socket
Sign inDemoInstall

@percy/cli-upload

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-upload

Percy CLI command to uploade a directory of static images to Percy for diffing.


Version published
Weekly downloads
350K
decreased by-3.21%
Maintainers
6
Weekly downloads
 
Created
Source

@percy/cli-upload

Percy CLI command to uploade a directory of static images to Percy for diffing.

Commands

percy upload DIRNAME

Upload a directory of images to Percy

USAGE
  $ percy upload DIRNAME

ARGUMENTS
  DIRNAME  directory of images to upload

OPTIONS
  -c, --config=config     configuration file path
  -d, --dry-run           prints a list of matching images to upload without uploading
  -e, --strip-extensions  strips file extensions from snapshot names
  -f, --files=files       [default: **/*.{png,jpg,jpeg}] one or more globs matching image file paths to upload
  -i, --ignore=ignore     one or more globs matching image file paths to ignore
  -q, --quiet             log errors only
  -v, --verbose           log everything
  --silent                log nothing

EXAMPLE
  $ percy upload ./images

Percy Configuration

This CLI plugin adds the following Percy configuration options (defaults shown).

# defaults
version: 2
upload:
  strip-extensions: false
  files: '**/*.{png,jpg,jpeg}'
  ignore: ''
  • strip-extensions - Strips file extensions from snapshot names
  • files - A glob or array of globs matching file paths to upload
  • ignore - A glob or array of globs matching file paths to ignore

FAQs

Package last updated on 30 Nov 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