template <class TValue>
classcollection_key_value_option : public base_option<std::vector<TValue> >;
Description
Multiple key->value option. Finds and parse multiple occurrences of options like key=value in argument list.
Example how to use: OdDAI::utils::argv_parser commandLineParser("some.exe"); std::vectorifcFiles = {"c:/a1.txt","c:/a2.txt"}; commandLineParser.add_param(std::make_shared>(ifcFiles, "-ifcFile", "the list of compared files"));
Example in args: some.exe ... -ifcFile="c:/1.txt" ... -ifcFile="c:/2.txt" - [ifcFiles == ["c:/1.txt", "c:/2.txt"]] some.exe ... - [ifcFiles == ["c:/a1.txt","c:/a2.txt"]]