5 ms·
How does this compare to Fabric? Fabric offers a load of extra stuff to do with SSH/Deployment, but just looking at the basic features of running Python tasks f
by samarudge 13y ago
How does this compare to Fabric? Fabric offers a load of extra stuff to do with SSH/Deployment, but just looking at the basic features of running Python tasks from the command line, why should I use this over Fabric?
Also, why use `manager.arg` for documenting arguments, why not just use Python docstrings?
- jeanphix 13y agoFabric CLI syntax has been designed to chain commands. Also thought about parsing args docstrings to get help and type, will be part of an upcoming release.
- Kaedon 13y agoI was wondering the same thing. I also strongly associate manage.py with Django, so it confused me a bit when I first read it.
- jp_sc 13y agoThis seems to be for local manage scripts, like the one that comes with Django. A couple years ago I wrote a similar library: https://github.com/lucuma/pyceo https://github.com/lucuma/pyceo and I'm not the only one who feel argparse are optparse look very unpythonic (eg: http://flask-script.readthedocs.org/en/latest/ http://flask-script.readthedocs.org/en/latest/).