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