aboutsummaryrefslogtreecommitdiff
path: root/src/list/mod.rs
blob: e05a3186f65c7bb7bed059fbd37046beb26dee66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use anyhow::{Context, Result};
use gtree::local::Repos;

impl crate::GTree {
    pub async fn list(&self, repos: Repos) -> Result<()> {
        repos.iter().for_each(|repo| {
            println!("{}", repo)
        });

        Ok(())
    }
}