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

@percy/agent

A low-level Node process for interacting with Percy.

Version CircleCI Downloads/week License

Usage

$ npm install -g percy
$ percy COMMAND
running command...
$ percy (-v|--version|version)
percy/0.7.2 linux-x64 node-v10.16.0
$ percy --help [COMMAND]
USAGE
  $ percy COMMAND
...

Commands

percy exec

Start and stop Percy around a supplied command.

USAGE
  $ percy exec

OPTIONS
  -p, --port=port                                  [default: 5338] port
  -t, --network-idle-timeout=network-idle-timeout  [default: 50] asset discovery network idle timeout (in milliseconds)

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

  -i, --ignore-files=ignore-files                  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

Current Tags

  • 0.7.2                                ...           latest (2 days ago)

25 Versions

  • 0.7.2                                ...           2 days ago
  • 0.7.1                                ...           3 days ago
  • 0.7.0                                ...           10 days ago
  • 0.6.0                                ...           10 days ago
  • 0.5.3                                ...           10 days ago
  • 0.5.2                                ...           13 days ago
  • 0.5.1                                ...           16 days ago
  • 0.5.0                                ...           17 days ago
  • 0.4.9                                ...           a month ago
  • 0.4.8                                ...           a month ago
  • 3.0.3 [deprecated]           ...           4 years ago
  • 3.0.2 [deprecated]           ...           4 years ago
  • 3.0.1 [deprecated]           ...           4 years ago
  • 3.0.0 [deprecated]           ...           4 years ago
  • 2.0.2 [deprecated]           ...           5 years ago
  • 2.0.1 [deprecated]           ...           5 years ago
  • 1.0.3 [deprecated]           ...           5 years ago
  • 1.0.2 [deprecated]           ...           5 years ago
  • 2.0.0 [deprecated]           ...           5 years ago
  • 1.0.1 [deprecated]           ...           5 years ago
  • 1.0.0 [deprecated]           ...           5 years ago
  • 0.1.4 [deprecated]           ...           5 years ago
  • 0.1.3 [deprecated]           ...           5 years ago
  • 0.1.2 [deprecated]           ...           5 years ago
  • 0.1.1 [deprecated]           ...           5 years ago
Downloads
Today 0
This Week 0
This Month 143
Last Day 0
Last Week 36
Last Month 66
Dependencies (20)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |