stuff-from-scratch/apps/website-generator/main.cpp

28 lines
466 B
C++
Raw Normal View History

2022-10-03 06:45:10 +00:00
#include "CommandLineArgs.h"
2022-10-03 07:46:41 +00:00
#include "WebsiteGenerator.h"
2022-10-03 06:45:10 +00:00
int main(int argc, char *argv[])
{
auto args = CommandLineArgs::Create();
args->process(argc, argv);
args->recordLaunchPath();
WebsiteGenerator generator;
generator.findProject(args->getArg(1));
generator.readConfig();
// Find and process project files
generator.parseContentFiles();
// Find template files
// Substitute template files
return 0;
}