| 1234567891011121314151617181920 |
- // 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 config = new StartupConfiguration("BO Console", Assembly.GetExecutingAssembly().GetName().Version);
- config.ConsoleCopyright = Assembly.GetExecutingAssembly().GetCopyright();
- config.AllowInteractive = false;
- config.WaitOnKeyInNonInteractiveMode = false;
- config.CommandDefinitionAssebmly = new[]{Assembly.GetEntryAssembly()};
- config.DisableDefaultCommands();
- config.ShowStatusOnEveryCommand = false;
- config.IsConsoleDebug = false;
- var console = new Engine(config, new DefualtEngineContext(), args);
- console.Start();
|