A nice library to help you ship a program:
docopt.cpp: A C++11 Port
by Jared Grubb
From the article:
Isn't it awesome how
getopt
(andboost::program_options
for you fancy folk!) generate help messages based on your code?! These timeless functions have been around for decades and have proven we don't need anything better, right?Hell no! You know what's awesome? It's when the option parser is generated based on the beautiful help message that you write yourself! This way you don't need to write this stupid repeatable parser-code, and instead can write only the help message--the way you want it...
Add a Comment
Comments are closed.