use crate::cli::ConfigArgs;
use caretta_sync_core::utils::runnable::Runnable;
use clap::Args;
#[derive(Debug, Args)]
pub struct ConfigCheckCommandArgs {
#[command(flatten)]
config: ConfigArgs,
}
impl Runnable for ConfigCheckCommandArgs {
#[tokio::main]
async fn run(self, app_name: &'static str) {
let _ = self.config.into_config(app_name).await;
println!("Ok");
}
}