#include "help.h" #include #include #include using namespace drogon_ctl; void help::handleCommand(const std::vector ¶meters) { std::cout<<"usage: drogon_ctl []"<(drogon::DrClassMap::newObject(className)); if(classPtr) { auto cmdHdlPtr=std::dynamic_pointer_cast(classPtr); if(cmdHdlPtr) { auto pos=className.rfind("::"); if(pos!=std::string::npos) { className=className.substr(pos+2); } while(className.length()<24) className.append(" "); std::cout<script()<