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 servers as a CLI wrapper over migrate_core
crate, which is the
entrypoint for programmatic access of the API.
The CLI should be fed the migrate_core::PlanBuilder
with the migrations
specific for particular use case 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
Contains the arguments parsed from the command line of the process. It may be used to execute the operation specified in these arguments.