mod commands; use clap::Subcommand; use conduit::Result; use ruma::events::room::message::RoomMessageEventContent; use self::commands::*; #[derive(Debug, Subcommand)] pub(super) enum CheckCommand { AllUsers, } pub(super) async fn process(command: CheckCommand, body: Vec<&str>) -> Result { Ok(match command { CheckCommand::AllUsers => check_all_users(body).await?, }) }