Hacker News new | ask | show | jobs
by samarudge 4789 days 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?

3 comments

I was wondering the same thing. I also strongly associate manage.py with Django, so it confused me a bit when I first read it.
This 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

and I'm not the only one who feel argparse are optparse look very unpythonic (eg: http://flask-script.readthedocs.org/en/latest/).

Fabric 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.