metaforce/hecl/driver/main.cpp

38 lines
657 B
C++
Raw Normal View History

2015-05-15 15:39:43 -07:00
#include <stdio.h>
#include <string.h>
2015-05-16 21:55:29 -07:00
#include <HECLDatabase.hpp>
#define MAIN_CPP
2015-05-19 14:01:32 -07:00
#include "CToolBase.hpp"
#include "CToolInit.hpp"
#include "CToolAdd.hpp"
#include "CToolGroup.hpp"
#include "CToolCook.hpp"
#include "CToolClean.hpp"
#include "CToolPackage.hpp"
#include "CToolHelp.hpp"
2015-05-15 15:39:43 -07:00
void printHelp(const char* pname)
2015-05-15 15:39:43 -07:00
{
printf("Usage: %s init|add|group|cook|clean|package|help\n", pname);
}
int main(int argc, const char** argv)
{
if (argc == 1)
{
printHelp(argv[0]);
return 0;
}
else if (argc == 0)
{
printHelp("hecl");
return 0;
}
if (!strcasecmp(argv[1], "init"))
2015-05-15 15:39:43 -07:00
return 0;
}