#pragma once #include "console_handler.h" #include "daemon/interactive_command_executor.h" #include "daemon/command_parser_executor.h" namespace daemonize { class t_command_server { private: t_command_parser_executor m_parser; epee::command_handler m_command_lookup; public: t_command_server( t_command_executor * executor ); bool process_command(const std::string& cmd); private: bool help(const std::vector& args); std::string get_commands_str(); }; } // namespace daemonize