rustyroad 1.2.0

Rusty Road is a framework written in Rust that is based on Ruby on Rails. It is designed to provide the familiar conventions and ease of use of Ruby on Rails, while also taking advantage of the performance and efficiency of Rust.
Documentation
//! Routing one migration subcommand to its handler.

use super::{apply, baseline, convert, generate, inspect, rollback, version};
use clap::ArgMatches;

/// Routes one migration subcommand.
pub(super) async fn run(name: &str, args: &ArgMatches, format: &str) {
    match name {
        "generate" => generate::run(args).await,
        "all" => apply::all(args).await,
        "run" => apply::one(args).await,
        "baseline" => baseline::run(args).await,
        "start" => version::start(args).await,
        "complete" => version::complete(args).await,
        "rollback-version" => version::rollback(args).await,
        "version-status" => version::status(args).await,
        "rollback" => rollback::one(args).await,
        "redo" => rollback::redo(args).await,
        "reset" => rollback::reset().await,
        "validate" => inspect::validate().await,
        "list" => inspect::list(format).await,
        "convert" => convert::run(args),
        _ => println!("Invalid migration choice"),
    }
}