// use anyhow::Result; use init::init_config; use scanner::find_markers; mod init; mod model; mod patterns; mod scanner; fn main() -> Result<()> { println!("Forgejo TODO Checker!"); let config = init_config()?; let markers = find_markers(config)?; println!("{markers}"); // TODO: add authentication when provided // let issues = ureq::get(&api).call()?.into_string()?; // TODO: parse issues to get list of open issue numbers // TODO: loop over list of expected issues and drop any where they do exist and are open // TODO: if remaining list is not empty - add all to error list // // TODO: if error list is empty - exit okay // TODO: if error list is not empty - log erros and exit not okay Ok(()) }