cmdcall

Utility for quick test python script


License
MIT
Install
pip install cmdcall==0.0.1

Documentation

Utility for quick test python script

Build Status

Install like pip install cmdcall.

After you finished coding your script just call cmdcall like cmdcall.handle(sys.modules[__name__]), then, your script is callable immediately. Call your script like python script.py foo 1 2 --c 3 --d 4 and cmdcall will parse cmdline args and provide them to foo function of your module.

See entry script and test case for more info.