0.4.1 • Published 5 years ago
swage v0.4.1
Swage
CLI tool for converting Swagger API specification JSON to Excel
Getting started


Install
npm install --global swageyarn global add swageCommand
swage gen --help
# generate an excel file in the current directory
swage gen <json-path>Example
swage gen example/example.json
OUTPUT >>> ./swagger.xlsxflag --output, -o
swage gen example/example.json --output example
OUTPUT >>> ./example/swagger.xlsxDevelopment
Build
npm install
npm run buildRun
node dist/main.js gen example/example.json --output .Local Install
npm run local
# /usr/local/bin/swage -> /usr/local/lib/node_modules/swage/dist/main.js
# + swage@0.4.0
# added 1 package from 1 contributor in 0.667sClean
npm run clean