News for hackers. Stuff that matters.
Re:Ask HN: Good examples of interactive command-line user ex... by zie on Tuesday May 23, 2017 @10:28AM (#14401451)
There was a talk at Pycon 2017 about this [0] that's pretty good. He(amjith) goes through several examples with his favorite being bpython [1] and even covers writing such a thing in python live on stage.

[0] https://www.youtube.com/watch?v=hJhZhLg3obk [1] https://bpython-interpreter.org/

Re:Ask HN: Good examples of interactive command-line user ex... by ericfrederich on Tuesday May 23, 2017 @02:13PM (#14403687)
click is another package that implements a lot of these things.

http://click.pocoo.org/6/

Re:Ask HN: Good examples of interactive command-line user ex... by d0mine on Tuesday May 23, 2017 @10:33AM (#14401517)
Re:Ask HN: Good examples of interactive command-line user ex... by git-pull on Tuesday May 23, 2017 @10:41AM (#14401611)
Yes good on you for mentioning that, as well as the other projects in the umbrella:

- pymux (tmux clone): https://github.com/jonathanslenders/pymux/

- pyvim (vim clone): https://github.com/jonathanslenders/pyvim/

Lots of community-driven CLI tools with superb autocompletion:

- ptpython: http://github.com/jonathanslenders/ptpython/

- pgcli: http://pgcli.com/ + mycli: http://mycli.net/

- complete shells: xonsh (http://xon.sh/) + ergonomica (https://ergonomica.github.io/)

Re:Ask HN: Good examples of interactive command-line user ex... by zie on Wednesday May 24, 2017 @12:06AM (#14407543)
The talk covers Prompt Toolkit. The presenter wrote pgcli and mycli, and covers most of your list as well. But it's probably good to list it all out here, for the lazy, or the ones unable/unwilling to play youtube.