| ChainCLI
    A modern C++20 command-line interface library | 
Class used to parse string inputs into typed argument values based on the command definition. More...
#include <parser.h>
| Public Member Functions | |
| Parser (const CliConfig &config) | |
| Creates a new Parser instance with the given configuration. | |
| void | parseArguments (const cli::commands::Command &command, const std::vector< std::string > &inputs, ContextBuilder &contextBuilder) const | 
| Parse the given inputs according to the specified command and populate the context builder with the parsed values. | |
Class used to parse string inputs into typed argument values based on the command definition.
| 
 | inlineexplicit | 
Creates a new Parser instance with the given configuration.
| config | The configuration to use for the parser. | 
| inline_t void cli::parsing::Parser::parseArguments | ( | const cli::commands::Command & | command, | 
| const std::vector< std::string > & | inputs, | ||
| ContextBuilder & | contextBuilder | ||
| ) | const | 
Parse the given inputs according to the specified command and populate the context builder with the parsed values.
| command | The command to parse the inputs for. | 
| inputs | The inputs to parse. | 
| contextBuilder | The context builder to populate with the parsed values. |