mhgbrg / personal-website

My personal website and blog. Uses a script that parses posts from Markdown files and spits out static html.
0 stars 1 forks source link

Look at docopt for parsing arguments #10

Closed mhgbrg closed 8 years ago

mhgbrg commented 8 years ago

Right now I am using getopt from the Python standard library to parse command line arguments to the script. My brother recommended docopt instead.

docopt is a way of defining command line arguments by essentially writing usage instructions. It is a standard, and implementations of it is available for a whole bunch of different programming languages.