Euphoria
|
eu::core::argparse::Name Struct Reference
represents a command line argument optional: More...
#include <argparse.h>
Public Member Functions | |
Name (const char *nn) | |
std::string | validate () const |
bool | is_optional () const |
Public Attributes | |
std::vector< std::string > | names |
Detailed Description
represents a command line argument optional:
- start with either - or –
- can have many names positional:
- doesn't start with -
- can only have a single name
Definition at line 181 of file argparse.h.
Constructor & Destructor Documentation
◆ Name()
eu::core::argparse::Name::Name | ( | const char * | nn | ) |
Member Function Documentation
◆ is_optional()
bool eu::core::argparse::Name::is_optional | ( | ) | const |
◆ validate()
std::string eu::core::argparse::Name::validate | ( | ) | const |
Member Data Documentation
◆ names
std::vector<std::string> eu::core::argparse::Name::names |
Definition at line 183 of file argparse.h.
The documentation for this struct was generated from the following file:
- libs/core/src/core/argparse.h