0.4.1 • Published 3 years ago
swage v0.4.1
Swage
CLI tool for converting Swagger API specification JSON to Excel
Getting started
Install
npm install --global swage
yarn global add swage
Command
swage gen --help
# generate an excel file in the current directory
swage gen <json-path>
Example
swage gen example/example.json
OUTPUT >>> ./swagger.xlsx
flag --output
, -o
swage gen example/example.json --output example
OUTPUT >>> ./example/swagger.xlsx
Development
Build
npm install
npm run build
Run
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.667s
Clean
npm run clean