Added shell action
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
use config::CuddleConfig;
|
||||
|
||||
mod actions;
|
||||
mod cli;
|
||||
mod config;
|
||||
mod context;
|
||||
mod model;
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
let context = context::extract_cuddle()?;
|
||||
let mut cuddle_cli = cli::CuddleCli::new(context.clone())?;
|
||||
cuddle_cli = cuddle_cli.execute();
|
||||
let config = CuddleConfig::from_env()?;
|
||||
|
||||
println!("{:?}", cuddle_cli);
|
||||
let context = context::extract_cuddle(config.clone())?;
|
||||
_ = cli::CuddleCli::new(context)?.execute()?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user