static void Main(string[] args) { var cli = new CommandLineInterface(); cli.Execute(args); if (System.Diagnostics.Debugger.IsAttached) { Console.WriteLine("Press a key to exit..."); Console.ReadKey(); } }
public static void Main(string[] args) { var logger = new ConsoleLogger(); var cli = new CommandLineInterface( logger: logger, printGenerators: new List <IPrintGeneratorManager> { new PrintGeneratorManager <SingleMaterialFFFPrintGenerator, SingleMaterialFFFSettings>( new GenericRepRapSettings(), "fff", "Basic FFF prints", logger) }); cli.Execute(args); }