#include <cli.h>
Public Member Functions | |
| ModernCLI () | |
| absl::Status | Run (int argc, char *argv[]) |
| void | PrintTopLevelHelp () const |
| void | PrintCategoryHelp (const std::string &category) const |
| void | PrintCommandSummary () const |
Private Member Functions | |
| void | ShowHelp () |
| void | ShowCategoryHelp (const std::string &category) const |
| void | ShowCommandSummary () const |
| absl::Status yaze::cli::ModernCLI::Run | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 23 of file cli.cc.
References yaze::cli::handlers::HandleAgentCommand(), yaze::cli::CommandRegistry::Instance(), yaze::Rom::is_loaded(), yaze::Rom::LoadFromFile(), yaze::cli::tui::ChatTUI::Run(), ShowCategoryHelp(), and ShowHelp().
Referenced by main().
| void yaze::cli::ModernCLI::PrintTopLevelHelp | ( | ) | const |
Definition at line 212 of file cli.cc.
References ShowHelp().

| void yaze::cli::ModernCLI::PrintCategoryHelp | ( | const std::string & | category | ) | const |
Definition at line 216 of file cli.cc.
References ShowCategoryHelp().
Referenced by main().

| void yaze::cli::ModernCLI::PrintCommandSummary | ( | ) | const |
Definition at line 220 of file cli.cc.
References ShowCommandSummary().
Referenced by main().

|
private |
Definition at line 77 of file cli.cc.
References yaze::cli::GetColoredLogo(), and yaze::cli::CommandRegistry::Instance().
Referenced by PrintTopLevelHelp(), and Run().

|
private |
Definition at line 130 of file cli.cc.
References yaze::cli::CommandRegistry::Instance().
Referenced by PrintCategoryHelp(), and Run().

|
private |
Definition at line 171 of file cli.cc.
References yaze::cli::CommandRegistry::Instance().
Referenced by PrintCommandSummary().
