16 lines
274 B
Rust
16 lines
274 B
Rust
use std::io::Result;
|
|
|
|
use portage::repository::RepoConfig;
|
|
|
|
fn main() -> Result<()> {
|
|
// the repo configuration
|
|
let mut repos = RepoConfig::new()?;
|
|
|
|
// read the config
|
|
repos.read_config()?;
|
|
|
|
// print repo config
|
|
repos.print_repos()?;
|
|
|
|
Ok(())
|
|
} |