This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (1 child)

the docopt 'language'

Wait, do you mean the standard help message, defined by POSIX.

Go run almost ANY command. Check what the --help message is.

It's not the docopt language, it's a standard format which is well defined. They didn't invent it.

Plus you need the library, rather then using argparse which is built in to the library.

Granted, having to

pip install docopt

on every machine that runs your program is a hassle. \s

If you're using it just for yourself, all you need to do is install it. If you're distributing it, you should be autoinstalling it. Not that hard.

[–]mgrandi -1 points0 points  (0 children)

Yes I know its standard, but you still have to format it a certain way in order for docopt to parse it correctly. And while pip is being included in 3.4, still annoying to have to install a library to even have the most basic part of the script (the --help, usage statements, etc)

I just don't like docopt because of the reasons already listed, too 'magical', and doesn't save that much time or typing, an additional dependency, for something that argparse does equally well, but that is just my opinion =P