3 ms·
For really, really basic things docopt is good. But you tend to re-invent the wheel when you need to do something other than the basic parsing it supports. The
by orf 7y ago
For really, really basic things docopt is good. But you tend to re-invent the wheel when you need to do something other than the basic parsing it supports. The click docs have a good section[1] on this:
> On top of that docopt is restricted to basic parsing. It does not handle argument dispatching and callback invocation or types. This means there is a lot of code that needs to be written in addition to the basic help page to handle the parsing results.
1. http://click.palletsprojects.com/en/7.x/why/#why-not-docopt-etc http://click.palletsprojects.com/en/7.x/why/#why-not-docopt-...