2024-04-08 19:46:24 +08:00
|
|
|
|
using System.CommandLine;
|
|
|
|
|
using Canon.Generator.Extensions;
|
|
|
|
|
|
|
|
|
|
RootCommand rootCommand = new("Canon Compiler Source Generator");
|
|
|
|
|
|
2024-04-26 10:18:49 +08:00
|
|
|
|
rootCommand.AddGrammarCommand();
|
|
|
|
|
rootCommand.AddSyntaxVisitorCommand();
|
2024-04-08 19:46:24 +08:00
|
|
|
|
|
|
|
|
|
await rootCommand.InvokeAsync(args);
|