-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Description
The submenu feature is nice, but it's very complex. What if we extracted the submenu code into a new GitHub project at https://github.com/python-cmd2/cmd2-submenus, and packaged it in pypi as a separate wheel, something like cmd2-submenus. This would enable:
- Easier maintenance of the core cmd2 module
- Version dependency between releases of cmd2 and cmd2-submenus. If cmd2-submenus lags behind cmd2 features, users of both modules can make a decision whether they want to most current cmd2 capabilities, or submenu support.
- Set a pattern for extensibility of cmd2 via additional packages instead of changes to the core.
I'm willing to take a crack at the extraction of the submenu code if there is interest in pursuing this proposal.