19int main(
int argc,
char* argv[]) {
21 cfg.setDefaultConfig();
22 cfg.program_name =
"arkanjo-preprocessor";
27 ctx.
command_name = (argc > 1) ? argv[1] : OrchestratorHelper::DEFAULT_COMMAND;
33 {{
"build"}, [&]() {
return std::make_unique<PreprocessorBuild>(); }},
34 {{
"list",
"ls"}, [&]() {
return std::make_unique<PreprocessorList>(); }}
37 std::unique_ptr<ICommand> command;
68 std::cerr << e.what() <<
"\n";
70 }
catch (
const std::exception& e) {
71 std::cerr <<
"Unexpected error: " << e.what() <<
"\n";
int main(int argc, char *argv[])