mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:07:42 +00:00
Much refactoring
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "CToolBase.hpp"
|
||||
#include "CToolInit.hpp"
|
||||
#include "CToolPlatform.hpp"
|
||||
#include "CToolAdd.hpp"
|
||||
#include "CToolRemove.hpp"
|
||||
#include "CToolGroup.hpp"
|
||||
@@ -150,6 +151,8 @@ int main(int argc, const char** argv)
|
||||
{
|
||||
if (toolName == "init")
|
||||
tool = new CToolInit(info);
|
||||
else if (toolName == "platform")
|
||||
tool = new CToolPlatform(info);
|
||||
else if (toolName == "add")
|
||||
tool = new CToolAdd(info);
|
||||
else if (toolName == "remove" || toolName == "rm")
|
||||
|
||||
Reference in New Issue
Block a user