YesChief!
C++ argv parser
|
#include <yeschief.h>
Public Member Functions | |
CLIResults (const std::map< std::string, std::any > &values) | |
auto | get (const std::string &option) const -> std::optional< std::any > |
Contains options values collected by parsing argv
|
explicit |
values | Values for each given option |
|
nodiscard |
Returns value set by the user for a specific option. If the user doesn't have set the option, then it returns std::nullopt
option | Name of the option |