News for hackers. Stuff that matters.
Re:Ask HN: Good examples of interactive command-line user ex... by odammit on Tuesday May 23, 2017 @10:08AM (#14401274)
Which python libraries do you prefer?

Inquirer is def the HTML inputs of the terminal but I got pretty far with it. My use case was Fairly Simple™ though. What other UI components do you think it's lacking?

Re:Ask HN: Good examples of interactive command-line user ex... by noshbrinken on Tuesday May 23, 2017 @01:05PM (#14402978)
I like python_prompt_toolkit, though I think the learning curve can be a bit steep. It gives you a ton of flexibility, which I really appreciate, but I have a hard time remembering how all the pieces interact. I hope I don't sound overly critical of people's open source work, because I've used and really appreciate both Inquirer and PPT. Just seems like there's yet to be a canonical library for this problem set.
Re:Ask HN: Good examples of interactive command-line user ex... by odammit on Tuesday May 23, 2017 @03:30PM (#14404423)
It'd be really nice to see one in go or something else I could ship around easily w/o needing NPM and node, etc.

I'll give PPT a swing. I haven't used it before. Thanks!