MCPcopy Create free account
hub / github.com/Mixaill/FakePDB / CommandInterface

Class CommandInterface

src_cpp/include/commands/command_interface.h:9–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8namespace FakePDB {
9 class CommandInterface {
10 public:
11 virtual ~CommandInterface() = default;
12
13 virtual int32_t GetArgsMin() = 0;
14 virtual int32_t GetArgsMax() = 0;
15
16 virtual std::string GetCommandName() = 0;
17 virtual std::vector<std::string> GetCommandUsage() = 0;
18 virtual std::string GetCommandDescription() = 0;
19
20
21 virtual int Run(int argc, char* argv[]) = 0;
22 };
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected