News for hackers. Stuff that matters.
Re:Ask HN: Good examples of interactive command-line user ex... by neovintage on Tuesday May 23, 2017 @09:59AM (#14401209)
I would recommend that you check out the Heroku CLI Style Guide: https://devcenter.heroku.com/articles/cli-style-guide

There are many different teams within Heroku that need to provide interactions for developers via CLI whether its for dynos or data services. The guide was a way to codify building a consistent interaction that all product managers and engineers could follow. Disclaimer: I work for heroku.

Re:Ask HN: Good examples of interactive command-line user ex... by pricechild on Tuesday May 23, 2017 @10:16AM (#14401330)
One thing not mentioned there is exit statuses. I think they're just as important a thing to think about, up there with what arguments to accept.
Re:Ask HN: Good examples of interactive command-line user ex... by neovintage on Tuesday May 23, 2017 @10:44AM (#14401646)
Thanks for the feedback! I'll see if we can get that in the guide.
Re:Ask HN: Good examples of interactive command-line user ex... by noshbrinken on Tuesday May 23, 2017 @10:01AM (#14401226)
This is great. Exactly the kind of thing I'm looking for.