예제 #1
0
파일: Program.cs 프로젝트: SmartFire/qtools
        static void Main(string[] args)
        {
            var options = new Options();

            ICommandLineParser parser = new CommandLineParser(new CommandLineParserSettings(Console.Error));
            if (!parser.ParseArguments(args, options)
                || !Invoke(options.Source,
                            new QCp(options),
                            new QueueTools(),
                            new ConsoleOutput(),
                            new ConsoleInput()))
            {
                Environment.Exit(1);
            }
        }
예제 #2
0
파일: QCp.cs 프로젝트: jondot/qtools
 public QCp(Options opts)
 {
     _opts = opts;
 }