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.
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.