Crate migrate[][src]

Expand description

migrate CLI entrypoint

The CLI is provided with MigrateCli type that parses the command line arguments and orchestrates the execution of migrations.

It serves as a CLI wrapper over migrate_core crate, which is the entrypoint for programmatic access of the API.

The migrate_core::PlanBuilder should be given to the CLI with use case specific migrations and the CLI will only control what migrations will be executed and in which mode.

See MigrateCli::run() method and the examples/ folder for more details.

Re-exports

pub use migrate_core as core;

Structs

MigrateCli

Contains the arguments parsed from the command line of the process. It may be used to execute the operation specified in these arguments.