private static int Run(Options options) { var program = new Program(options); return program.Run(); }
public Program(Options options) { _options = options; }
private static int Run(Options options) { // Don't display the banner until after the command line parser has // validated the arguments, because when the command line arguments are // invalid, the command line parse itself displays an banner. In that case, // if we displayed our banner first, you would see two of them. Banner(); var program = new Program(options); return program.Run(); }