A tiny header-only C++ library to handle options (parameters, arguments, …) which are given to programs on the command line.
I extracted some code out of my dumping ground for assorted snippets (a.k.a. misc_public)
and put it in its own repository […]
Update: In the meantime, CLIOptions has moved again (in 2021) and is now part of my “collection of useful things”,
a.k.a TheNiftyOddityToolkit.
It’s a tiny header-only C++ library to handle options (parameters, arguments, …) which are given to programs on the command line.
The capabilities are described in the comments in CLIOptions.h file itself, a short example.cpp is also in the repo — and even a CMake script has been written (as so often, not 100% generic, some settings/paths in it are tailored to my filesystem and workflows; adjust as needed).
I don’t have any grand plans for it, but it does what it should do and I’m already using it in a couple of places, so I consider it useful enough to bring it up into the light. 😄
Film & Television (54)
How To (63)
Journal (17)
Miscellaneous (4)
News & Announcements (21)
On Software (12)
Projects (26)