yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::anonymous_namespace{subcommand_routes.cc} Namespace Reference

Classes

struct  DebugRoute
 
struct  DebugWords
 
struct  RomSubcommand
 

Enumerations

enum class  DebugBackend { kMesen , kGrpc }
 

Functions

bool MatchesTopic (const DebugRoute &route, absl::string_view word)
 
absl::StatusOr< DebugWords > ExtractDebugBackend (absl::Span< const std::string > args)
 

Variables

constexpr RomSubcommand kRomSubcommands []
 
constexpr DebugRoute kDebugRoutes []
 

Enumeration Type Documentation

◆ DebugBackend

enum class yaze::cli::anonymous_namespace{subcommand_routes.cc}::DebugBackend
strong
Enumerator
kMesen 
kGrpc 

Definition at line 31 of file subcommand_routes.cc.

Function Documentation

◆ MatchesTopic()

bool yaze::cli::anonymous_namespace{subcommand_routes.cc}::MatchesTopic ( const DebugRoute & route,
absl::string_view word )

◆ ExtractDebugBackend()

absl::StatusOr< DebugWords > yaze::cli::anonymous_namespace{subcommand_routes.cc}::ExtractDebugBackend ( absl::Span< const std::string > args)

Variable Documentation

◆ kRomSubcommands

constexpr RomSubcommand yaze::cli::anonymous_namespace{subcommand_routes.cc}::kRomSubcommands[]
constexpr
Initial value:
= {
{"info", "z3ed rom info --rom=<path>"},
{"validate", "z3ed rom validate --rom=<path>"},
{"read", "z3ed rom read --address=0x1000 --length=16 --rom=<path>"},
{"write", "z3ed rom write --address=0x1000 --value=0xFF --rom=<path>"},
{"diff", "z3ed rom diff --rom_a=<a> --rom_b=<b>"},
{"compare", "z3ed rom compare --rom=<path> --baseline=<path>"},
{"doctor", "z3ed rom doctor --rom=<path>"},
}

Definition at line 21 of file subcommand_routes.cc.

◆ kDebugRoutes

constexpr DebugRoute yaze::cli::anonymous_namespace{subcommand_routes.cc}::kDebugRoutes[]
constexpr

Definition at line 46 of file subcommand_routes.cc.