Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 766 Bytes

commands.md

File metadata and controls

27 lines (19 loc) · 766 Bytes

Commands

As of right now, the Polly CLI only knows one command but expect to see more in the near future!

listen

Start up a node server and listen for Polly requests via the REST Persister to be able to record and replay recordings to and from disk.

Usage

  Usage: polly listen|l [options]

  start the server and listen for requests

  Options:

    -H, --host <host>                host
    -p, --port <port>                port number (default: 3000)
    -n, --api-namespace <namespace>  api namespace (default: polly)
    -d, --recordings-dir <path>      recordings directory (default: recordings)
    -q, --quiet                      disable the logging
    -h, --help                       output usage information