cuddle-v2/cuddle_cli/src/main.rs

14 lines
266 B
Rust
Raw Normal View History

2022-08-10 12:34:04 +02:00
mod cli;
mod context;
mod model;
2022-08-09 17:53:53 +02:00
fn main() -> anyhow::Result<()> {
2022-08-10 12:34:04 +02:00
let context = context::extract_cuddle()?;
let mut cuddle_cli = cli::CuddleCli::new(context.clone())?;
cuddle_cli = cuddle_cli.execute();
2022-08-09 17:53:53 +02:00
2022-08-10 12:34:04 +02:00
println!("{:?}", cuddle_cli);
2022-08-09 17:53:53 +02:00
Ok(())
}