in dashboard/src/main/java/com/google/cloud/tools/opensource/dashboard/DashboardMain.java [105:119]
public static void main(String[] arguments)
throws IOException, TemplateException, RepositoryException, URISyntaxException,
ParseException, MavenRepositoryException {
DashboardArguments dashboardArguments = DashboardArguments.readCommandLine(arguments);
if (dashboardArguments.hasVersionlessCoordinates()) {
generateLatestVersions(
dashboardArguments.getVersionlessCoordinates(),
dashboardArguments.getDependencyMediation());
} else if (dashboardArguments.hasFile()) {
generate(dashboardArguments.getBomFile(), dashboardArguments.getDependencyMediation());
} else {
generate(dashboardArguments.getBomCoordinates(), dashboardArguments.getDependencyMediation());
}
}