mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-11-29 18:27:43 +08:00
17 lines
460 B
C++
Executable File
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> ¶meters) override;
|
|
virtual std::string script() override {return "display version of this tool";}
|
|
virtual bool isTopCommand() override {return true;}
|
|
version(){}
|
|
};
|
|
}
|