shell-cell 1.7.0

Shell-Cell. CLI app to spawn and manage containerized shell environments
1
2
3
4
5
6
7
8
9
10
11
12
mod app;

use crate::{
    buildkit::BuildKitD,
    cli::{stop::app::App, terminal::Terminal},
};

pub async fn stop(silent: bool) -> color_eyre::Result<()> {
    let buildkit = BuildKitD::start().await?;
    let terminal = if silent { None } else { Some(Terminal::new()?) };
    App::run(&buildkit, terminal)
}