http://glfwtfwhlsm2u5pw3b7crist7bt7fwepj2wgv3n3b64unj22v5435tyd.onion/code/sargparse.html
Flags and choices can automatically generate suggestions for bash completions. auto myFlag = mySection.Flag("flag", "a simple flag");
enum class MyEnumType {Foo, Bar};
auto myChoice = sargparse::Choice<MyEnumType>(
MyEnumType::Foo, // default type
"my_enum", // name
{ {"Foo", MyEnumType::Foo},\{"Bar", MyEnumType::Bar} }, // possible values and their namings
"a choice demonstration" // description
); Commands A...