Sygaldry
Loading...
Searching...
No Matches
sygaldry::sygbp::CustomCli< Reader, Logger, Components, Commands > Struct Template Reference
Inheritance diagram for sygaldry::sygbp::CustomCli< Reader, Logger, Components, Commands >:
sygaldry::name_<"CLI"> sygaldry::author_<"Travis J. West"> sygaldry::description_<"Generate a simple command line interface for inspecting and sending data to the bound components."> sygaldry::version_<"0.0.0"> sygaldry::copyright_<"Copyright 2023 Sygaldry contributors"> sygaldry::license_<"SPDX-License-Identifier: MIT">

Public Member Functions

void init ()
 
void _try_to_match_and_execute (Components &components)
 
bool _is_whitespace (char c)
 
bool _new_arg () const
 
bool _overflow () const
 
void _prompt ()
 
void _reset ()
 
void _complain_about_command_failure (int retcode)
 
void process (const char c, Components &components)
 
void external_sources (Components &components)
 

Public Attributes

Logger log
 
Reader reader
 
Commands commands
 
int argc = 0
 
char * argv [MAX_ARGS]
 
unsigned char write_pos = 0
 
char buffer [BUFFER_SIZE]
 

Static Public Attributes

static constexpr size_t MAX_ARGS = 5
 
static constexpr size_t BUFFER_SIZE = 128
 

Additional Inherited Members

- Static Public Member Functions inherited from sygaldry::name_<"CLI">
static _consteval auto name ()
 
- Static Public Member Functions inherited from sygaldry::author_<"Travis J. West">
static _consteval auto author ()
 
- Static Public Member Functions inherited from sygaldry::description_<"Generate a simple command line interface for inspecting and sending data to the bound components.">
static _consteval auto description ()
 
- Static Public Member Functions inherited from sygaldry::version_<"0.0.0">
static _consteval auto version ()
 
- Static Public Member Functions inherited from sygaldry::copyright_<"Copyright 2023 Sygaldry contributors">
static _consteval auto copyright ()
 
- Static Public Member Functions inherited from sygaldry::license_<"SPDX-License-Identifier: MIT">
static _consteval auto license ()
 

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