#include "gen.h"
#include "interface.h"
#include <iostream>

int main(int argc, char *argv[])
{
	Generate Gen;

	std::string Args;
	int i;
	for (i = 1; i < argc; i++) {
		if (argv[i] != NULL)
			Args = argv[1];
		if (argv[i] == NULL) {
		}
		if ((Args == "-new") || (Args == "--new") || (Args == "-n")) {
			Gen.GenBlankConfig();
			return 1;
		}
		if ((Args == "-help") || (Args == "--help") || (Args == "-h")) {
			printHelp();
		}
		if ((Args == "-debug") || (Args == "--debug")) {
			Gen.CheckMake();
			Gen.CheckFiles();
		}
	}
	return 0;
}

#include <iostream>
#include "gen.h"
#include "interface.h"

int main(int argc, char *argv[])
{
	Generate Gen;

	std::string Args;
	int i;
	for (i = 1; i < argc; i++) {
		if (argv[i] != NULL)
			Args = argv[1];
		if (argv[i] == NULL) {
		}
		if ((Args == "-new") || (Args == "--new") || (Args == "-n")) {
			Gen.GenBlankConfig();
			return 1;
		}
		if ((Args == "-help") || (Args == "--help") || (Args == "-h")) {
			printHelp();
		}
		if ((Args == "-debug") || (Args == "--debug")) {
			Gen.CheckMake();
			Gen.WriteMake();
			Gen.GenMakeFromTemplate();
			Gen.WalkDir(Gen.currentDir, ".\\.cpp$", FS_DEFAULT | FS_MATCHDIRS);
			Gen.WalkDir(Gen.currentDir, ".\\.h$", FS_DEFAULT | FS_MATCHDIRS);
		}
	}
	return 0;
}

Add interface for new Generate member functions
Add interface for new Generate member functions

Signed-off-by: Alberto Corona <c1a4158909d6c23f73df353c7cc0bbe963891a65@0x1a.us>
