4 ms·
Obligatory reference to Boost's Program_options , which is as close to a standard way to handle command line options in C++ there is. https://www.boost.org/doc
by nuerow 5y ago
Obligatory reference to Boost's Program_options , which is as close to a standard way to handle command line options in C++ there is.
https://www.boost.org/doc/libs/1_77_0/doc/html/program_options.html https://www.boost.org/doc/libs/1_77_0/doc/html/program_optio...
- nly 5y agoAs mentioned this isn't wholly relevent because TFA is about adding a REPL. Nonetheless I prefer to use cxxopts[0] over BPO if I can justify the extra submodule [0] https://github.com/jarro2783/cxxopts https://github.com/jarro2783/cxxopts