private static void Main(string[] args) { CliBuilder <ApiClient> .Build <ApiClient>( "Itofinity Appveyor CLI", ".NET Core powered CLI for AppVeyor.", new ClientFactory(), new PorcelainCommandFactory(), new List <string>() { "extensions" }, "*.dll") .Execute(args); }
// Initialization code. Don't use any Avalonia, third-party APIs or any // SynchronizationContext-reliant code before AppMain is called: things aren't initialized // yet and stuff might break. public static void Main(string[] args) { CliBuilder <object> .Build( "Itofinity Appveyor CLI", ".NET Core powered CLI for AppVeyor.", new List <string>() { "extensions" }, "*.dll") .Execute(args); //BuildAvaloniaApp().Start(AppMain, args); }