use of com.google.copybara.onboard.OnboardCmd in project copybara by google.
the class Main method getCommands.
public ImmutableSet<CopybaraCmd> getCommands(ModuleSet moduleSet, ConfigLoaderProvider configLoaderProvider, JCommander jcommander) throws CommandLineException {
ConfigValidator validator = getConfigValidator(moduleSet.getOptions());
Consumer<Migration> consumer = getMigrationRanConsumer();
return ImmutableSet.of(new MigrateCmd(validator, consumer, configLoaderProvider, moduleSet), new InfoCmd(configLoaderProvider, newInfoContextProvider()), new ValidateCmd(validator, consumer, configLoaderProvider), new HelpCmd(jcommander), new OnboardCmd(), new VersionCmd());
}
Aggregations