Collin is a template/skeleton for creating interactive/stateful command-line applications.
clint was already taken
Why not Click or Argh?
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:
- Python2 (with a few adjustments to the Python3 code)
- [add your language to this document]
functions.pyin any folder
- Open folder in the CLI of your choosing
- Fork the repo
- Make your changes/additions
- Open a Pull Request
Adding another language
- Create a folder specifying your desired language eg.
- Use the basic structure of
functions.[lang]within newly created folder
- If your language has multiple versions eg.
Python3then 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.)