-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Labels
Milestone
Description
Now that cmd2 3.0.0 is out, it's time to start discussing what we would like to see in the 4.0.0 release for cmd2.
Features @kmvanbrunt and I have discussed for 4.x include:
- Remove explicit dependency on Python's built-in
cmdmodule, but retain backwards compatibility (PR Remove dependency on Python's built-in cmd module #1539) - Remove dependency on Python's built-in
readlinemodule and replace it with a dependency on prompt-toolkit which is a pure Python replacement for GNU Readline - Support adding a bottom toolbar to display real-time status via
prompt-toolkit - Consider implementing syntax that is essentially compatible with Typer for defining command arguments based on type hints. A user documented how to do this in Discussion A plugin for Typer command define within cmd2 #1530.
- Investigate adding
prompt-toolkitsyntax highlighting of text entered by users, at least for command names - Investigate adding support for
prompt-toolkitInput Validation - Consider migrating documentation to Zensical which is essentially MkDocs 2.0, but implemented in Rust and much faster
Moving to prompt-toolkit and no longer depending on cmd will be a large paradigm shift for cmd2. But this will open doors for easier and more consistent cross-platform support as well as being able to provide some more advanced features that we cannot now.