yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::UsageParameter Struct Reference

#include <usage_schema.h>

Public Member Functions

bool operator== (const UsageParameter &) const =default
 

Public Attributes

std::string name
 
bool positional = false
 
bool required = false
 
bool takes_value = false
 
std::string value_hint
 
std::vector< std::string > choices
 

Detailed Description

Definition at line 14 of file usage_schema.h.

Member Function Documentation

◆ operator==()

bool yaze::cli::UsageParameter::operator== ( const UsageParameter & ) const
default

Member Data Documentation

◆ name

std::string yaze::cli::UsageParameter::name

Definition at line 15 of file usage_schema.h.

Referenced by yaze::cli::ParseUsageParameters().

◆ positional

bool yaze::cli::UsageParameter::positional = false

Definition at line 16 of file usage_schema.h.

Referenced by yaze::cli::ParseUsageParameters().

◆ required

bool yaze::cli::UsageParameter::required = false

Definition at line 17 of file usage_schema.h.

◆ takes_value

bool yaze::cli::UsageParameter::takes_value = false

Definition at line 18 of file usage_schema.h.

Referenced by yaze::cli::ParseUsageParameters().

◆ value_hint

std::string yaze::cli::UsageParameter::value_hint

Definition at line 19 of file usage_schema.h.

Referenced by yaze::cli::ParseUsageParameters().

◆ choices

std::vector<std::string> yaze::cli::UsageParameter::choices

Definition at line 20 of file usage_schema.h.

Referenced by yaze::cli::ParseUsageParameters().


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