use clap::Parser; use podal::file::FileEnv; use podal::network::NetworkEnv; use podal::params::Args; use podal::prelude::*; fn main() -> Result<()> { println!("Podal"); let subscriptions = "subscriptions.txt"; let history = "downloaded.txt"; let site = "https://www.youtube.com/"; let args = Args::parse(); podal::run( subscriptions, history, site, podal::Env { network: NetworkEnv::default(), file: FileEnv::create(args.directory), }, )?; println!("Done"); Ok(()) }