static void Main(string[] args) { ClearScreen(); var commandLineProcessor = new CommandLineProcessor(args); var commandLineReader = new CommandLineReader(commandLineProcessor); var returnCode = commandLineReader.ReadCommandLine(); Environment.Exit(returnCode); }
static void Main(string[] args) { Out.Echo(ANSI.RIS); Out.ClearScreen(); var commandLineProcessor = new CommandLineProcessor( args, new OrbitalShellCommandLineProcessorSettings()); var commandLineReader = new CommandLineReader( commandLineProcessor); commandLineProcessor.Initialize(); var returnCode = commandLineReader.ReadCommandLine(); Environment.Exit(returnCode); }