config reader start

This commit is contained in:
neo_1993
2026-09-09 18:59:57 +02:00
parent 0d11ad4903
commit f35967c6e3
9 changed files with 925 additions and 2 deletions
+21
View File
@@ -0,0 +1,21 @@
use std::io::Result;
use std::process::exit;
use portage::util::logger::logger_init;
use portage::config::PortageConfig;
fn main() -> Result<()> {
match logger_init(log::LevelFilter::Debug) {
Ok(_) => {},
Err(e) => {
eprintln!("{e}");
exit(-1);
}
}
let cfg = PortageConfig::new()?;
cfg.display_config();
Ok(())
}