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

Method AddCommand

src_cpp/src/main.cpp:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 class Main {
25 public:
26 void AddCommand(std::shared_ptr<CommandInterface> i) {
27 _commands.push_back(i);
28 }
29
30 int Run(int argc, char* argv[]) {
31 if (argc < 2) {

Callers 1

mainFunction · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected