Configuration for command context. More...
#include <command_context.h>
Public Attributes | |
std::optional< std::string > | rom_path |
bool | use_mock_rom = false |
std::string | format = "json" |
bool | verbose = false |
Rom * | external_rom_context = nullptr |
Configuration for command context.
Definition at line 28 of file command_context.h.
std::optional<std::string> yaze::cli::resources::CommandContext::Config::rom_path |
Definition at line 29 of file command_context.h.
Referenced by yaze::cli::resources::CommandContext::Initialize(), yaze::cli::resources::CommandHandler::Run(), and yaze::cli::resources::TEST_F().
bool yaze::cli::resources::CommandContext::Config::use_mock_rom = false |
Definition at line 30 of file command_context.h.
Referenced by yaze::cli::resources::CommandContext::Initialize(), yaze::cli::resources::CommandHandler::Run(), yaze::cli::resources::TEST_F(), and yaze::cli::resources::TEST_F().
std::string yaze::cli::resources::CommandContext::Config::format = "json" |
Definition at line 31 of file command_context.h.
Referenced by yaze::cli::resources::CommandContext::GetFormat(), yaze::cli::resources::CommandHandler::Run(), and yaze::cli::resources::TEST_F().
bool yaze::cli::resources::CommandContext::Config::verbose = false |
Definition at line 32 of file command_context.h.
Referenced by yaze::cli::resources::CommandContext::IsVerbose(), and yaze::cli::resources::TEST_F().
Rom* yaze::cli::resources::CommandContext::Config::external_rom_context = nullptr |
Definition at line 35 of file command_context.h.
Referenced by yaze::cli::resources::CommandContext::Initialize(), yaze::cli::resources::CommandHandler::Run(), and yaze::cli::resources::TEST_F().