CommandeerA command-line parser library for Python 3 | |
Download |
Commandeer Ranking & Summary
Advertisement
- License:
- GPL v3
- Price:
- FREE
- Publisher Name:
- Johannes Spielmann
- Publisher web site:
- https://bitbucket.org/shezi/
Commandeer Tags
Commandeer Description
Commandeer is a command-line generator library that you can use to add a nice command line interface to your python programs.It will take care of parsing all command line options as well as calling the right command functions in your script. And it will generate a nice-looking help for the program and for each of the commands.We've written Commandeer in such a way that it should work just like you expect it to. There are only two things you need to do:- name the functions you want to expose on the command line to end in _command.- Add the following code snippet to the end of your command line module: import commandeer if __name__ == '__main__': commandeer.cli()You should try it out!For more information, consult the documentation on https://bitbucket.org/shezi/commandeer/Product's homepage
Commandeer Related Software