Example #1
0
 @Override
 public int runWithoutHelp(CommandRunnerParams params) throws IOException, InterruptedException {
   ParserConfig parserConfig = new ParserConfig(params.getBuckConfig());
   BuildFileTree buildFileTree =
       new FilesystemBackedBuildFileTree(
           params.getCell().getFilesystem(), parserConfig.getBuildFileName());
   try {
     OwnersReport report =
         buildOwnersReport(
             params, parserConfig, buildFileTree, getArguments(), isGuessForDeletedEnabled());
     printReport(params, report);
   } catch (BuildFileParseException | BuildTargetException e) {
     return BUILD_TARGET_ERROR;
   }
   return 0;
 }