| 121 | } |
| 122 | |
| 123 | void CLICommand::Register(const std::vector<String>& name, const CLICommand::Ptr& function) |
| 124 | { |
| 125 | std::unique_lock<std::mutex> lock(GetRegistryMutex()); |
| 126 | GetRegistry()[name] = function; |
| 127 | } |
| 128 | |
| 129 | void CLICommand::Unregister(const std::vector<String>& name) |
| 130 | { |