CommandLineConfig config = new CommandLineConfig(out, err);
CmdLineParser parser = new CmdLineParser(config);
// We actually do this work in configure, since we want to bind the parsed command line
// options at this time
try {
parser.parseArgument(args);
config.validate();
bind(ClassPath.class).toInstance(new ClassPathFactory().createFromPath(config.cp));
bind(ReportFormat.class).toInstance(config.format);
} catch (CmdLineException e) {
err.println(e.getMessage() + "\n");