cuddle-v2/cuddle_cli/src/main.rs
2022-08-10 16:46:56 +02:00

17 lines
289 B
Rust

use config::CuddleConfig;
mod actions;
mod cli;
mod config;
mod context;
mod model;
fn main() -> anyhow::Result<()> {
let config = CuddleConfig::from_env()?;
let context = context::extract_cuddle(config.clone())?;
_ = cli::CuddleCli::new(context)?.execute()?;
Ok(())
}