12 comments

[ 2.8 ms ] story [ 40.9 ms ] thread
Did you create another API doc design? Are there plans to support the other specs like Swagger or RAML?
Good idea. It would be useful to integrate it with the routing definitions of popular frameworks. Example: generate the definition file from Rails' routes.rb
There's also Newman: https://github.com/postmanlabs/newman

It can take collections from Postman and run them. Commandcar seems to be more driven towards interactivity though, which is kinda cool.

Disclaimer: I work on Newman as a part of my day job.

Adding Salesforce probably could be beneficial
Why the example in README uses sudo by default? It seems more suitable to install APIs into local user directory by default and don't force the users to run your command as root.
You need to install it globally and it needs to be able to copy files into /usr. I reckoned this is how its down with global npm installations. Do you have any other solution?
Using sudo with npm is not required, you can configure it to store things in your user dir:

    echo "prefix=$HOME/.npm-packages" >> ~/.npmrc
>copy files into /usr

Why that?

I'll try to use it as I'm working on projects with many API calls but for sure I'll alias it to something shorter, maybe "api".
“Any API” seems to mean “any web service API” or something like that.
That would exceed the hn title limit ;-)