drafter.js-cli

CLI for drafter.js

Usage no npm install needed!

<script type="module">
  import drafterJsCli from 'https://cdn.skypack.dev/drafter.js-cli';
</script>

README

CLI wrapper for drafter.js

Installation

npm -g i drafter.js-cli

Usage

Usage: drafter.js-cli [options] <input_file>

API Blueprint Parser by drafter.js

Options:
  -v, --version               output the version number
  -o, --output <output_file>  save output Parse Result into file
  -s, --sourcemap             export sourcemap in the Parse Result
  -l, --validate              validate input only, do not output Parse Result
  -h, --help                  output usage information

License

MIT License. See the LICENSE file.