#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 27 of file cli.cc.
References yaze::cli::handlers::HandleAgentCommand(), yaze::cli::CommandRegistry::Instance(), ShowCategoryHelp(), and ShowHelp().
Referenced by main().

| void yaze::cli::ModernCLI::PrintTopLevelHelp | ( | ) | const |
Definition at line 263 of file cli.cc.
References ShowHelp().

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

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

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

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

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