0.1.2 • Published 10 years ago
apick v0.1.2
apick
Simple CLI api library based in express. Just type apick to step into the repl enviroment and start mocking
Installation
$ [sudo] npm install -g apick
Help
node::apick> help
'HELP is a pending issue'
Mock response from file
node::apick> mock --method get --path /test --file test_file.json --code 200
'Mock: get /test returns 200 with test_file.json'
Mock response directly in repl
node::apick> mock --method get --path /test --data {"json":"test"} --code 200
'Mock: get /test returns 200 with {"json":"test"}'
##Available commands