devspace 0.1.0

devspace helps you to quickly start all the programs you need to dev using Tmux and other tools.
Documentation
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(())
}