cli20 0.1.2
A C++20 typed-schema command-line parser
Loading...
Searching...
No Matches
cli::Parser< T >::Lookup::OptionEntry Struct Reference

#include <parser.hh>

Public Attributes

std::string_view prefix
std::string_view name
char short_name {}
Nargs nargs {}
bool is_short {}

Detailed Description

template<ArgumentSpec T>
struct cli::Parser< T >::Lookup::OptionEntry

Definition at line 1042 of file parser.hh.

Member Data Documentation

◆ is_short

template<ArgumentSpec T>
bool cli::Parser< T >::Lookup::OptionEntry::is_short {}

Definition at line 1047 of file parser.hh.

◆ name

template<ArgumentSpec T>
std::string_view cli::Parser< T >::Lookup::OptionEntry::name

Definition at line 1044 of file parser.hh.

◆ nargs

template<ArgumentSpec T>
Nargs cli::Parser< T >::Lookup::OptionEntry::nargs {}

Definition at line 1046 of file parser.hh.

◆ prefix

template<ArgumentSpec T>
std::string_view cli::Parser< T >::Lookup::OptionEntry::prefix

Definition at line 1043 of file parser.hh.

◆ short_name

template<ArgumentSpec T>
char cli::Parser< T >::Lookup::OptionEntry::short_name {}

Definition at line 1045 of file parser.hh.


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