//! `config migrate` subcommand mod v20240701; use crate::config::Revision; #[derive(thiserror::Error, Debug)] pub(crate) enum MigrationError { #[error(transparent)] V20240701(#[from] v20240701::Error), } pub(super) async fn run(revision: Revision) -> Result<(), MigrationError> { match revision { Revision::V20240701 => v20240701::run().await?, } Ok(()) }