yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::Commands Struct Reference

Command handler for the CLI. More...

#include <command.h>

Public Attributes

std::unordered_map< std::string, std::shared_ptr< CommandHandler > > handlers
 

Detailed Description

Command handler for the CLI.

Definition at line 237 of file command.h.

Member Data Documentation

◆ handlers

std::unordered_map<std::string, std::shared_ptr<CommandHandler> > yaze::cli::Commands::handlers
Initial value:
= {
{"-a", std::make_shared<ApplyPatch>()},
{"-asar", std::make_shared<AsarPatch>()},
{"-c", std::make_shared<CreatePatch>()},
{"-o", std::make_shared<Open>()},
{"-b", std::make_shared<Backup>()},
{"-x", std::make_shared<Expand>()},
{"-i", std::make_shared<Compress>()},
{"-e", std::make_shared<Decompress>()},
{"-s", std::make_shared<SnesToPc>()},
{"-p", std::make_shared<PcToSnes>()},
{"-t", std::make_shared<Tile16Transfer>()},
{"-r", std::make_shared<ReadFromRom>()}
}

Definition at line 238 of file command.h.

Referenced by yaze::cli::anonymous_namespace{z3ed.cc}::RunCommandHandler().


The documentation for this struct was generated from the following file: