Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@percy/cli-upload

Package Overview
Dependencies
Maintainers
1
Versions
361
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 upload a directory of static images to Percy for diffing.

latest
Source
npmnpm
Version
1.31.14
Version published
Weekly downloads
455K
-11.5%
Maintainers
1
Weekly downloads
 
Created
Source

@percy/cli-upload

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

Commands

percy upload

Upload a directory of images to Percy

Usage:
  $ percy upload [options] <dirname>

Arguments:
  dirname                 Directory of images to upload

Options:
  -f, --files [pattern]   One or more globs matching image file paths to upload (default:
                          "**/*.{png,jpg,jpeg}")
  -i, --ignore <pattern>  One or more globs matching image file paths to ignore
  -e, --strip-extensions  Strips file extensions from snapshot names

Percy options:
  -c, --config <file>     Config file path
  -d, --dry-run           Print snapshot names only

Global options:
  -v, --verbose           Log everything
  -q, --quiet             Log errors only
  -s, --silent            Log nothing
  -l, --labels <string>   Associates labels to the build (ex: --labels=dev,prod )
  -h, --help              Display command help

Examples:
  $ 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 21 May 2026

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