mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-23 03:32:51 +08:00
20 lines
395 B
C#
20 lines
395 B
C#
using Spectre.Console.Cli;
|
|
|
|
namespace Help;
|
|
|
|
public static class Program
|
|
{
|
|
public static int Main(string[] args)
|
|
{
|
|
var app = new CommandApp<DefaultCommand>();
|
|
|
|
app.Configure(config =>
|
|
{
|
|
// Register the custom help provider
|
|
config.SetHelpProvider(new CustomHelpProvider(config.Settings));
|
|
});
|
|
|
|
return app.Run(args);
|
|
}
|
|
}
|