GitHub - jayrod/cmd2-example-apps: Collection of advanced cmd2 applications (original) (raw)
CMD2 Advanced Application Examples
This project aims to help budding cmd2 application designers with more advanced techniques and nuances of the cmd2 framework.
TOC
Name | Description | Asciinema |
---|---|---|
App1 | Asynchronous alerts with CommandSets | screencast |
App2 | Rich console integration with cmd2 | screencast |
App3 | Large application organization with command search | screencast |
App4 | Persistent file history with command parameter parsing and completion | |
App5 | Logging with loguru library and creation of a command logging decorator | |
App6 | Context aware conditional tab completion | screencast |
Contributing
Pull requests are welcome. Any additional cmd2 apps must be runnable and contain a requirements.txt file. This will help users understand which version of cmd2 the application is compatible with. I will gladly accept style changes for readability as it is imperative that example code make sense to a large audience.