My flask entry point file that uses docopt

from blog heyman.info, | ↗ original
I’ve been using Docopt - a neat library that lets you define command line arguments in a good looking, human readable docstring - in the entry point file of some of my Flask projects lately, and I thought I should share it. It’s nothing super fancy, but useful in development as it allows me to optionally specify the interface and port of the...