class BuildProject extends AbstractCommand {

  @Override
  public void execute() throws Exception {
    logger.trace("Starting {}...", this);
    final Options options = parse(new Options());
    final BuildProjectCommandMode buildProjectCommandMode = commandFactory.apply(options);
    buildProjectCommandMode.setPrinter(getPrinter());
    buildProjectCommandMode.execute();
    this.lastBuildResult = buildProjectCommandMode.getLastBuildResult();
  }

}