示例#1
0
文件: Program.cs 项目: wwwK/NConsole
        static void Main(string[] args)
        {
            var processor = new CommandLineProcessor(new ConsoleHost(!args.Contains("/noninteractive")));

            processor.RegisterCommand <CloneCommand>("clone");
            processor.ProcessWithExceptionHandling(args);
            Console.ReadKey();
        }