bool t_command_server::start_handling(std::function<void(void)> exit_handler) { if (m_is_rpc) return false; m_command_lookup.start_handling("", get_commands_str(), exit_handler); return true; }
//-------------------------------------------------------------------------------- bool DaemonCommandsHandler::help(const std::vector<std::string>& args) { std::cout << get_commands_str() << ENDL; return true; }
bool t_command_server::help(const std::vector<std::string>& args) { std::cout << get_commands_str() << std::endl; return true; }