@stoplight/prism-cli

You can install the command line CLI using npm i -g @stoplight/prism-cli

Usage no npm install needed!

<script type="module">
  import stoplightPrismCli from 'https://cdn.skypack.dev/@stoplight/prism-cli';
</script>

README

prism-cli

You can install the command line CLI using npm i -g @stoplight/prism-cli

To get an overview of all the commands, just do prism help

Documentation

Read me about the Prism CLI.

Development

Debugging

  1. yarn cli:debug mock file.oas.yml
  2. 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:
{
  "type": "node",
  "request": "attach",
  "name": "Attach",
  "port": 9229
},
  1. Enjoy the breakpoints :)