Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1 KB

README.md

File metadata and controls

44 lines (33 loc) · 1 KB

@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
  -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:
  files: '**/*.{png,jpg,jpeg}'
  ignore: ''