feat: Added --plugin, --calc, --hash, --encode and --decode subcommands

This commit is contained in:
WerWolv
2023-07-16 23:46:41 +02:00
parent 1588365d4a
commit e9450b490f
6 changed files with 265 additions and 63 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
#include <string>
#include <vector>
namespace hex::plugin::builtin {
void handleVersionCommand(const std::vector<std::string> &args);
void handleHelpCommand(const std::vector<std::string> &args);
void handlePluginsCommand(const std::vector<std::string> &args);
void handleOpenCommand(const std::vector<std::string> &args);
void handleCalcCommand(const std::vector<std::string> &args);
void handleHashCommand(const std::vector<std::string> &args);
void handleEncodeCommand(const std::vector<std::string> &args);
void handleDecodeCommand(const std::vector<std::string> &args);
void registerCommandForwarders();
}