Crate tern_cli

Source
Expand description

The CLI for the tern migration library.

This exports the App type and ContextOptions, which help turn a project using tern into a CLI.

The App is the CLI. ContextOptions exists to connect a generic context to the CLI since it is the CLI that supplies the database URL, surely required of the context, but not anything else the context might need to initialize.

Structs§

  • The CLI app to run.

Traits§

  • A type that can build a particular context with a database url. This is needed because the context is arbitrary, yet the CLI options have the database URL, which is certainly required to build it.