Simple nodejs Cli helper
- install
- export postman api collection to the
postman.json
file in the folder./data
- install global : access
simple-cli
folder and runsudo npm i -g .
- export postman api collection to the
- use
- hey -h
- hey -t JWT_TOKEN
- hey -l
- hey -f API_NAME
- hey -e API_INDEX
Tips : You can
- list all globally installed Node.js modules using
npm ls -g --depth=0
- uninstall global : run
npm uninstall -g simple-cli
Save time for quick access or do simple thing example quick access api call from postman or decode jwt token
- Decode jwt token
- Show and execute api from postman collection
- Find and access notes (TODO)
- Quick write a note (TODO)
decode jwt token
hey -t JWT_TOKEN
show all available api
hey -l
show all available api by env
hey -l dev
find api with name
hey -f API_NAME
execute api with api index
hey -e 10
show api payload with api index
hey -s 10
Tips : If you dont like hey
, rename it from package.json
- node >= v8
Inspirated from Build a Command Line Application with Node.js from David Neal