npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

@vnczjs/prism-test-cli

3.0.0 • Public • Published

prism-cli

oclif Version Downloads/week License

Usage

$ npm install -g @vnczjs/prism-test-cli
$ prism COMMAND
running command...
$ prism (-v|--version|version)
@vnczjs/prism-test-cli/3.0.0 darwin-x64 node-v11.13.0
$ prism --help [COMMAND]
USAGE
  $ prism COMMAND
...

Commands

prism help [COMMAND]

display help for prism

USAGE
  $ prism help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

prism serve

Start a server with the given spec file

USAGE
  $ prism serve

OPTIONS
  -m, --mock       (required) Turn global mocking on or off
  -p, --port=port  (required) [default: 4010] Port that Prism will run on.
  -s, --spec=spec  (required) Path to a spec file

See code: src/commands/serve.ts

Development

Debugging

  1. node --inspect -r tsconfig-paths/register bin/run
  2. .vscode/launch.json
{
  "type": "node",
  "request": "attach",
  "name": "Attach",
  "port": 9229
},
  1. Run VSCode debugger
  2. Enjoy breakpoints in VSCode :)

Keywords

none

install

npm i @vnczjs/prism-test-cli

Downloadsweekly downloads

12

version

3.0.0

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability