mod project; use project::Project; #[tokio::main] async fn main() -> anyhow::Result<()> { dotenv::dotenv().ok(); tracing_subscriber::fmt::init(); Cuddle::new().await?; Ok(()) } struct Cuddle { project: Option, } impl Cuddle { pub async fn new() -> anyhow::Result { let project = Project::from_current_path().await?; Ok(Self { project }) } }