com.jslsolucoes.db.migrate.se.MigrateEntrypoint Maven / Gradle / Ivy
package com.jslsolucoes.db.migrate.se;
import com.jslsolucoes.db.migrate.se.cli.ConsoleArgument;
import com.jslsolucoes.db.migrate.se.cli.ConsoleMode;
import com.jslsolucoes.db.migrate.se.config.MigrateConfigurationBuilder;
public class MigrateEntrypoint {
public static void main(String[] args) throws Exception {
ConsoleArgument consoleArgument = ConsoleMode.newConsole().withArgs(args).build();
Migrate.newMigration().withConfiguration(MigrateConfigurationBuilder.newBuilder()
.withScripts(consoleArgument.getScript()).withProperties(consoleArgument.getConfiguration()).build())
.migrate();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy