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); } }
public QCp(Options opts) { _opts = opts; }