2018-05-31 09:00:31 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @author An Tao
|
|
|
|
* @section LICENSE
|
|
|
|
*
|
|
|
|
* Copyright 2018, An Tao. All rights reserved.
|
|
|
|
* Use of this source code is governed by a MIT license
|
|
|
|
* that can be found in the License file.
|
|
|
|
*
|
|
|
|
* @section DESCRIPTION
|
|
|
|
*
|
|
|
|
*/
|
2018-05-29 05:49:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
#include "create.h"
|
|
|
|
#include "cmd.h"
|
|
|
|
#include <drogon/DrClassMap.h>
|
|
|
|
#include <iostream>
|
|
|
|
#include <memory>
|
|
|
|
using namespace drogon_ctl;
|
|
|
|
|
|
|
|
|
|
|
|
void create::handleCommand(std::vector<std::string> ¶meters)
|
|
|
|
{
|
|
|
|
//std::cout<<"create!"<<std::endl;
|
|
|
|
auto createObjName=parameters[0];
|
|
|
|
createObjName=std::string("create_")+createObjName;
|
|
|
|
parameters[0]=createObjName;
|
|
|
|
exeCommand(parameters);
|
|
|
|
}
|