News for hackers. Stuff that matters.
Re:Show HN: Add a command-line interface to any C++ program by nuerow on Saturday October 16, 2021 @04:54AM (#28886500)
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_optio...

Re:Show HN: Add a command-line interface to any C++ program by nly on Saturday October 16, 2021 @05:59AM (#28886732)
As 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