Percy CLI command to uploade a directory of static images to Percy for diffing.
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
This CLI plugin adds the following Percy configuration options (defaults shown).
# defaults
version: 2
upload:
files: '**/*.{png,jpg,jpeg}'
ignore: ''