@percy/agent
An agent process for integrating with Percy.
Last updated a day ago by percy-admin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @percy/agent 
SYNC missed versions from official npm registry.

@percy/agent

A low-level Node process for interacting with Percy.

Version CircleCI This project is using Percy.io for visual regression testing. Downloads/week License

Usage

$ npm install -g @percy/agent
$ percy COMMAND
running command...
$ percy (-v|--version|version)
@percy/agent/0.20.1 linux-x64 node-v8.16.2
$ percy --help [COMMAND]
USAGE
  $ percy COMMAND
...

Commands

percy exec

Start and stop Percy around a supplied command.

USAGE
  $ percy exec

OPTIONS
  -c, --config=config                              Path to percy config file
  -h, --allowed-hostname=allowed-hostname          Allowable hostname(s) to capture assets from
  -p, --port=port                                  [default: 5338] Port
  -t, --network-idle-timeout=network-idle-timeout  [default: 50] Asset discovery network idle timeout (in milliseconds)

  --cache-responses                                [default: false] Enable caching network responses for asset discovery
                                                   (experimental)

EXAMPLES
  $ percy exec -- echo "percy is running around this echo command"
  $ percy exec -- bash -c "echo foo && echo bar"

See code: dist/commands/exec.ts

percy finalize

Finalize a build. Commonly used for parallelized builds, especially when the number of parallelized processes is unknown.

USAGE
  $ percy finalize

OPTIONS
  -a, --all  (required)

EXAMPLE
  $ percy finalize --all
  [percy] Finalized parallel build.

See code: dist/commands/finalize.ts

percy help [COMMAND]

display help for percy

USAGE
  $ percy help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

percy snapshot [SNAPSHOTDIRECTORY]

Snapshot a directory containing a pre-built static website.

USAGE
  $ percy snapshot [SNAPSHOTDIRECTORY]

ARGUMENTS
  SNAPSHOTDIRECTORY  [default: .] A path to the directory you would like to snapshot

OPTIONS
  -b, --base-url=base-url                          [default: /] If your static files will be hosted in a subdirectory,
                                                   instead of the webserver's root path, set that subdirectory with this
                                                   flag.

  -c, --config=config                              Path to percy config file

  -h, --allowed-hostname=allowed-hostname          Allowable hostname(s) to capture assets from

  -i, --ignore-files=ignore-files                  [default: ] Glob or comma-seperated string of globs for matching the
                                                   files and directories to ignore.

  -p, --port=port                                  [default: 5338] Port

  -s, --snapshot-files=snapshot-files              [default: **/*.html,**/*.htm] Glob or comma-seperated string of globs
                                                   for matching the files and directories to snapshot.

  -t, --network-idle-timeout=network-idle-timeout  [default: 50] Asset discovery network idle timeout (in milliseconds)

EXAMPLES
  $ percy snapshot _site/
  $ percy snapshot _site/ --base-url "/blog/"
  $ percy snapshot _site/ --ignore-files "/blog/drafts/**"

See code: dist/commands/snapshot.ts

percy upload [UPLOADDIRECTORY]

Upload a directory containing static snapshot images.

USAGE
  $ percy upload [UPLOADDIRECTORY]

ARGUMENTS
  UPLOADDIRECTORY  [default: .] A path to the directory containing static snapshot images

OPTIONS
  -c, --config=config  Path to percy config file

  -f, --files=files    [default: **/*.png,**/*.jpg,**/*.jpeg] Glob or comma-seperated string of globs for matching the
                       files and directories to snapshot.

  -i, --ignore=ignore  [default: ] Glob or comma-seperated string of globs for matching the files and directories to
                       ignore.

EXAMPLES
  $ percy upload _images/
  $ percy upload _images/ --files **/*.png

See code: dist/commands/upload.ts

Current Tags

  • 0.4.4-beta.1                                ...           beta (6 months ago)
  • 0.20.1                                ...           latest (a day ago)

137 Versions

  • 0.20.1                                ...           a day ago
  • 0.20.0                                ...           8 days ago
  • 0.19.7                                ...           11 days ago
  • 0.19.6                                ...           16 days ago
  • 0.19.5                                ...           17 days ago
  • 0.19.4                                ...           18 days ago
  • 0.19.3                                ...           19 days ago
  • 0.19.2                                ...           19 days ago
  • 0.19.1                                ...           a month ago
  • 0.19.0                                ...           a month ago
  • 0.18.4                                ...           a month ago
  • 0.18.3                                ...           a month ago
  • 0.18.2                                ...           a month ago
  • 0.18.1                                ...           a month ago
  • 0.18.0                                ...           a month ago
  • 0.17.1                                ...           a month ago
  • 0.17.0                                ...           a month ago
  • 0.16.2                                ...           a month ago
  • 0.16.1                                ...           2 months ago
  • 0.16.0                                ...           2 months ago
  • 0.15.2                                ...           2 months ago
  • 0.15.1                                ...           2 months ago
  • 0.15.0                                ...           2 months ago
  • 0.14.1                                ...           2 months ago
  • 0.14.0                                ...           2 months ago
  • 0.13.0                                ...           2 months ago
  • 0.12.2                                ...           2 months ago
  • 0.12.1                                ...           2 months ago
  • 0.12.0                                ...           2 months ago
  • 0.11.0                                ...           2 months ago
  • 0.10.1                                ...           3 months ago
  • 0.10.0                                ...           3 months ago
  • 0.9.2                                ...           3 months ago
  • 0.9.0                                ...           4 months ago
  • 0.8.3                                ...           4 months ago
  • 0.8.2                                ...           4 months ago
  • 0.8.1                                ...           4 months ago
  • 0.8.0                                ...           4 months ago
  • 0.7.2                                ...           5 months ago
  • 0.7.1                                ...           5 months ago
  • 0.7.0                                ...           5 months ago
  • 0.6.0                                ...           5 months ago
  • 0.5.3                                ...           5 months ago
  • 0.5.2                                ...           5 months ago
  • 0.5.1                                ...           6 months ago
  • 0.5.0                                ...           6 months ago
  • 0.4.9                                ...           6 months ago
  • 0.4.8                                ...           6 months ago
  • 0.4.7                                ...           6 months ago
  • 0.4.6                                ...           6 months ago
  • 0.4.5                                ...           6 months ago
  • 0.4.4                                ...           6 months ago
  • 0.4.4-beta.1                                ...           6 months ago
  • 0.4.3                                ...           6 months ago
  • 0.4.2                                ...           6 months ago
  • 0.4.1                                ...           7 months ago
  • 0.5.0-beta.1                                ...           7 months ago
  • 0.4.0                                ...           7 months ago
  • 0.3.1                                ...           7 months ago
  • 0.3.0                                ...           7 months ago
  • 0.2.3                                ...           7 months ago
  • 0.2.2                                ...           7 months ago
  • 0.2.2-beta.4                                ...           7 months ago
  • 0.2.2-beta.3                                ...           7 months ago
  • 0.2.2-beta.2                                ...           7 months ago
  • 0.2.2-beta.1                                ...           7 months ago
  • 0.2.1-beta.1                                ...           7 months ago
  • 0.2.1                                ...           7 months ago
  • 0.2.0                                ...           7 months ago
  • 0.1.18                                ...           7 months ago
  • 0.1.17                                ...           8 months ago
  • 0.1.16                                ...           9 months ago
  • 0.1.15                                ...           9 months ago
  • 0.1.14                                ...           9 months ago
  • 0.1.13                                ...           9 months ago
  • 0.1.12                                ...           9 months ago
  • 0.1.11                                ...           10 months ago
  • 0.1.10                                ...           10 months ago
  • 0.1.9                                ...           10 months ago
  • 0.1.8                                ...           10 months ago
  • 0.1.7                                ...           a year ago
  • 0.1.6                                ...           a year ago
  • 0.1.5                                ...           a year ago
  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.0.50                                ...           a year ago
  • 0.0.49                                ...           a year ago
  • 0.0.48                                ...           a year ago
  • 0.0.47                                ...           a year ago
  • 0.0.46                                ...           a year ago
  • 0.0.45                                ...           a year ago
  • 0.0.44                                ...           a year ago
  • 0.0.43                                ...           a year ago
  • 0.0.42                                ...           a year ago
  • 0.0.41                                ...           a year ago
  • 0.0.40                                ...           a year ago
  • 0.0.39                                ...           a year ago
  • 0.0.38                                ...           a year ago
  • 0.0.37                                ...           a year ago
  • 0.0.36                                ...           a year ago
  • 0.0.35                                ...           a year ago
  • 0.0.34                                ...           a year ago
  • 0.0.33                                ...           a year ago
  • 0.0.32                                ...           a year ago
  • 0.0.31                                ...           a year ago
  • 0.0.30                                ...           a year ago
  • 0.0.29                                ...           a year ago
  • 0.0.28                                ...           a year ago
  • 0.0.27                                ...           a year ago
  • 0.0.26                                ...           a year ago
  • 0.0.25                                ...           a year ago
  • 0.0.24                                ...           a year ago
  • 0.0.23                                ...           a year ago
  • 0.0.22                                ...           a year ago
  • 0.0.21                                ...           a year ago
  • 0.0.20                                ...           a year ago
  • 0.0.19                                ...           a year ago
  • 0.0.18                                ...           a year ago
  • 0.0.17                                ...           a year ago
  • 0.0.16                                ...           a year ago
  • 0.0.15                                ...           a year ago
  • 0.0.14                                ...           a year ago
  • 0.0.13                                ...           a year ago
  • 0.0.12                                ...           a year ago
  • 0.0.11                                ...           a year ago
  • 0.0.10                                ...           a year ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
Downloads
Today 1
This Week 177
This Month 675
Last Day 28
Last Week 490
Last Month 819
Dependencies (23)
Dev Dependencies (69)

Copyright 2014 - 2016 © taobao.org |