Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've used docopt for some tools, but argtools (and click it seems) is much more convenient, imo. It's very easy to remember the 1-2 decorators and probably most importantly, the command arguments and everything else are where the command is defined, not somewhere else.

When using docopt i spent much more time defining the docstring and figuring out the right way to write it, especially more complex scenarios.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: