argon  0.12.0
Command line argument parser
argon::Parser Class Reference

Argument parser. More...

#include <Parser.hpp>

Public Member Functions

 Parser (int argc, const char *const argv[])
 
void add_option (const std::string &flags, const std::string &description, const Action &action, const std::string &output)
 
void add_option (const std::string &flags, const std::string &description, bool &found)
 
template<typename T >
void add_option (const std::string &flags, const std::string &description, T &value)
 
void add_position (const std::string &name, const std::string &description)
 
void parse ()
 
auto get_position (size_t index) const -> std::string_view
 
auto args () const -> std::vector< std::string_view >
 

Detailed Description

Argument parser.


The documentation for this class was generated from the following file: