PostgresqlMigrationCli class

Command-line entry point for PostgreSQL migration workflows.

Constructors

PostgresqlMigrationCli({PostgresqlMigrationService? service, PostgresqlCliConnectionOpener? openConnection, CliReadLine? readLine, bool? interactiveInput, GeneratedClientWriter? clientWriter, StringSink? out, StringSink? err})
Creates a PostgreSQL migration CLI.

Properties

clientWriter → GeneratedClientWriter
Writes generated clients after schema-changing workflows.
final
err StringSink
Standard error sink.
final
hashCode int
The hash code for this object.
no setterinherited
openConnection PostgresqlCliConnectionOpener
Connection opener used by CLI commands.
final
out StringSink
Standard output sink.
final
prompter → CliPrompter
Interactive prompt helper.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service PostgresqlMigrationService
Migration service used for planning and applying changes.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(List<String> args) Future<int>
Runs a PostgreSQL migration command.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited