Collin is a template/skeleton for creating interactive/stateful command-line applications.
clint
was already taken
AFAIK, the regular CLI-building libraries do not provide interactive/stateful options, without implementing some type of extra storage-mechanism
Collin can hold data within the programming data-structures (variables, etc.) for the duration of the program. You no longer need a database or other storage-mechanism
Collin is very much a template/skeleton. The code is relatively simple for all types of programmers (novice included) and can be extended to just about any other language that has some command-line support
Collin currently supports:
- Python3
- Python2 (with a few adjustments to the Python3 code)
- [add your language to this document]
- Save
menu.py
andfunctions.py
in any folder - Open folder in the CLI of your choosing
- Run:
python menu.py
- Fork the repo
- Make your changes/additions
- Open a Pull Request
- Create a folder specifying your desired language eg.
Ruby
,Haskell
- Use the basic structure of
menu.[lang]
andfunctions.[lang]
within newly created folder - If your language has multiple versions eg.
Python2
andPython3
then specify the version in the folder-name
This project is licensed under the Unlicense
, as it is just a template. You can therefore
re-license any projects that use Collin under their own licenses (MIT/Apache/BSD/GPL3/etc.)