News for hackers. Stuff that matters.
Re:Show HN: Commandcar – a CLI tool that can easily communic... by czardoz on Wednesday November 25, 2015 @11:28PM (#10631274)
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.

Re:Show HN: Commandcar – a CLI tool that can easily communic... by anonfunction on Wednesday November 25, 2015 @09:48PM (#10631001)
Did you create another API doc design? Are there plans to support the other specs like Swagger or RAML?
Re:Show HN: Commandcar – a CLI tool that can easily communic... by pmontra on Thursday November 26, 2015 @08:05AM (#10632771)
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
Re:Show HN: Commandcar – a CLI tool that can easily communic... by pmontra on Thursday November 26, 2015 @08:03AM (#10632765)
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".
Re:Show HN: Commandcar – a CLI tool that can easily communic... by inlineint on Thursday November 26, 2015 @04:21AM (#10632092)
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.
Re:Show HN: Commandcar – a CLI tool that can easily communic... by shaharsol on Thursday November 26, 2015 @04:36AM (#10632144)
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?
Re:Show HN: Commandcar – a CLI tool that can easily communic... by jgillich on Thursday November 26, 2015 @05:16AM (#10632284)
Using sudo with npm is not required, you can configure it to store things in your user dir:

    echo "prefix=$HOME/.npm-packages" >> ~/.npmrc
Re:Show HN: Commandcar – a CLI tool that can easily communic... by fit2rule on Thursday November 26, 2015 @09:02AM (#10632986)
>copy files into /usr

Why that?

Re:Show HN: Commandcar – a CLI tool that can easily communic... by kps on Thursday November 26, 2015 @10:18AM (#10633262)
“Any API” seems to mean “any web service API” or something like that.
Re:Show HN: Commandcar – a CLI tool that can easily communic... by shaharsol on Friday November 27, 2015 @03:19AM (#10636410)
That would exceed the hn title limit ;-)
Re:Show HN: Commandcar – a CLI tool that can easily communic... by dzhiurgis on Thursday November 26, 2015 @12:05AM (#10631373)
Adding Salesforce probably could be beneficial
Re:Show HN: Commandcar – a CLI tool that can easily communic... by ghubbard on Thursday November 26, 2015 @02:03AM (#10631688)
No tests?