1 2 3 4 5 6 7 8 9 10
//! The `wdir` command. use crate::{Context, Result}; pub fn command(ctx: &Context, space_name: String) -> Result { let space = ctx.db.get_space(&space_name)?; println!("{}", space.wdir.to_string_lossy()); Ok(()) }