papa 2.3.0-alpha.3

A cli mod manager for the Northstar launcher
1
2
3
4
5
6
7
8
9
10
11
12
13
use anyhow::Result;

use crate::core::Ctx;

pub(crate) fn list(ctx: &Ctx) -> Result<()> {
    if let Some(c) = ctx.cluster.as_ref() {
        c.members.iter().for_each(|(k, v)| {
            println!("{} at {}", k, v.display());
        });
    }

    Ok(())
}