3 ms·
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
by buster 13y ago
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.