CLIDatabase()

Source

CLIDatabase() {
  options
    ..addOption("migration-directory",
        abbr: "m",
        help:
            "The directory where migration files are stored. Relative paths are relative to the application-directory.",
        defaultsTo: "migrations");

  registerCommand(new CLIDatabaseUpgrade());
  registerCommand(new CLIDatabaseGenerate());
  registerCommand(new CLIDatabaseShowMigrations());
  registerCommand(new CLIDatabaseValidate());
  registerCommand(new CLIDatabaseVersion());
}