Namespaces | |
| namespace | anonymous_namespace{command_context.cc} |
| namespace | anonymous_namespace{command_handler.cc} |
Classes | |
| class | ArgumentParser |
| Utility for parsing common CLI argument patterns. More... | |
| class | CommandContext |
| Encapsulates common context for CLI command execution. More... | |
| class | CommandHandler |
| Base class for CLI command handlers. More... | |
| struct | CommandInvocationContext |
| class | OutputFormatter |
| Utility for consistent output formatting across commands. More... | |
Functions | |
| absl::StatusOr< std::filesystem::path > | ResolveStableArtifactPath (const std::filesystem::path &path) |
| absl::StatusOr< bool > | PathsAlias (const std::filesystem::path &lhs, const std::filesystem::path &rhs) |
| absl::Status | RejectArtifactRomAliases (absl::string_view option_name, const std::filesystem::path &artifact_path, const CommandInvocationContext &invocation_context) |
| absl::StatusOr< std::filesystem::path > yaze::cli::resources::ResolveStableArtifactPath | ( | const std::filesystem::path & | path | ) |
Definition at line 46 of file command_handler.cc.
Referenced by yaze::cli::handlers::DungeonRenderCommandHandler::ExecuteWithContext(), and PathsAlias().
| absl::StatusOr< bool > yaze::cli::resources::PathsAlias | ( | const std::filesystem::path & | lhs, |
| const std::filesystem::path & | rhs ) |
Definition at line 79 of file command_handler.cc.
References ASSIGN_OR_RETURN, and ResolveStableArtifactPath().
Referenced by RejectArtifactRomAliases().

| absl::Status yaze::cli::resources::RejectArtifactRomAliases | ( | absl::string_view | option_name, |
| const std::filesystem::path & | artifact_path, | ||
| const CommandInvocationContext & | invocation_context ) |
Definition at line 111 of file command_handler.cc.
References yaze::cli::resources::CommandInvocationContext::active_rom_path, ASSIGN_OR_RETURN, PathsAlias(), yaze::cli::resources::CommandInvocationContext::sandbox_enabled, and yaze::cli::resources::CommandInvocationContext::source_rom_path.
Referenced by yaze::cli::handlers::DungeonRenderCommandHandler::ExecuteWithContext().
