drogon/drogon_ctl/version.h

17 lines
460 B
C++
Executable File

#pragma once
#include <drogon/DrObject.h>
#include "CommandHandler.h"
using namespace drogon;
namespace drogon_ctl
{
class version:public DrObject<version>,public CommandHandler
{
public:
virtual void handleCommand(std::vector<std::string> &parameters) override;
virtual std::string script() override {return "display version of this tool";}
virtual bool isTopCommand() override {return true;}
version(){}
};
}