@vnczjs/prism-test-cli
prism-cli =========
Last updated 5 months ago by vincenzo .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @vnczjs/prism-test-cli 
SYNC missed versions from official npm registry.

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 :)

Current Tags

  • 3.0.0                                ...           latest (5 months ago)
  • 3.4.0                                ...           pre (5 months ago)

6 Versions

  • 3.4.0                                ...           5 months ago
  • 3.3.1                                ...           5 months ago
  • 3.3.0                                ...           5 months ago
  • 3.2.0                                ...           5 months ago
  • 3.1.0                                ...           5 months ago
  • 3.0.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |