Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lampda::common::cli::ParsedCommand Struct Reference

Public Member Functions

const char * name () const
 Return the name of the command.
 
const char * argument (const size_t index) const
 Return the argument at the desired index, or nullptr if it do not exist.
 
ParsedCommand shift_to_first_parameter () const
 Create a new command shifted by one argument.
 

Public Attributes

bsp::text_in::Inputs::Command buffer {}
 
uint8_t commandOffset = 0
 
std::array< uint8_t, maxArgumentCount > argumentOffsets {}
 
uint8_t argumentCount = 0
 

Static Public Attributes

static constexpr uint8_t maxArgumentCount = 8
 

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