static void Main(string[] args)
        {
            ClearScreen();
            var commandLineProcessor = new CommandLineProcessor(args);
            var commandLineReader    = new CommandLineReader(commandLineProcessor);
            var returnCode           = commandLineReader.ReadCommandLine();

            Environment.Exit(returnCode);
        }
Example #2
0
        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);
        }