I'd like to continue our discussion about feature parity with perl tools
and overall user experience of the new CLI tools.
Here are some projects where we can take inspiration for our own design:
* bpython interpreter
* fish shell
* Python Prompt Toolkit
(it's used to build tools like pgcli and mycli: https://github.com/dbcli
* OpenStack CLI:
Common theme is that all of these CLIs are primarily used in REPL mode,
but they can be used in script mode as well.
Here's the quote from fish shell's design page about the law of
* Everything should be tab-completable, and every tab completion should
have a description.
* Every syntax error and error in a built-in command should contain an
error message describing what went wrong and a relevant help page.
Whenever possible, errors should be flagged red by the syntax
* The help manual should be easy to read, easily available from the
shell, complete and contain many examples
* The language should be uniform, so that once the user understands the
command/argument syntax, they will know the whole language, and be
able to use tab-completion to discover new features.
Please let me know what do you think.