UNPKG

582 BMarkdownView Raw
1# prism-cli
2
3You can install the command line CLI using `npm i -g @stoplight/prism-cli`
4
5To get an overview of all the commands, just do `prism help`
6
7## Documentation
8
9Read me about the [Prism CLI](../../docs/getting-started/03-cli.md).
10
11## Development
12
13### Debugging
14
151. `yarn cli:debug mock file.oas.yml`
162. Run your preferred debugger on the newly created process. If you're into VS Code, you can create `.vscode/launch.json` and put this content inside:
17
18```json
19{
20 "type": "node",
21 "request": "attach",
22 "name": "Attach",
23 "port": 9229
24},
25```
26
274. Enjoy the breakpoints :)