using System.Threading.Tasks; using Kyoo.Core; using Microsoft.AspNetCore.Hosting; namespace Kyoo.Host.Console { /// /// Program entrypoint. /// public static class Program { /// /// The string representation of the environment used in . /// #if DEBUG private const string Environment = "Development"; #else private const string Environment = "Production"; #endif /// /// Main function of the program /// /// Command line arguments public static Task Main(string[] args) { Application application = new(Environment); return application.Start(args); } } }