// See https://aka.ms/new-console-template for more information using System.Reflection; using Quadarax.Foundation.Core.QConsole; using Quadarax.Foundation.Core.QConsole.Configuration; using Quadarax.Foundation.Core.QConsole.Context; using Quadarax.Foundation.Core.Reflection.Extensions; var consoleVersion = Assembly.GetExecutingAssembly()?.GetName()?.Version; if (consoleVersion != null) { var config = new StartupConfiguration("tss.client.console", consoleVersion) { ConsoleCopyright = Assembly.GetExecutingAssembly().GetCopyright(), AllowInteractive = false, WaitOnKeyInNonInteractiveMode = false, CommandDefinitionAssembly = new Assembly[] { Assembly.GetEntryAssembly()! } }; config.DisableDefaultCommands(); config.ShowStatusOnEveryCommand = false; config.IsConsoleDebug = false; var console = new Engine(config, new DefualtEngineContext(), args); console.Start(); }