16 lines
427 B
C#
16 lines
427 B
C#
using DotNetSolutionTools.CLI.Commands;
|
|
using Spectre.Console.Cli;
|
|
|
|
var app = new CommandApp();
|
|
app.Configure(config =>
|
|
{
|
|
config.SetApplicationName("SolutionParityChecker");
|
|
config.ValidateExamples();
|
|
|
|
config.AddCommand<CompareCommand>("compare");
|
|
config.AddCommand<ImplicitUsingsCommand>("implicit-usings");
|
|
config.AddCommand<FormatCsprojCommand>("format-csproj");
|
|
});
|
|
|
|
return await app.RunAsync(args);
|