shell-cell 1.6.2

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

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

pub async fn stop() -> color_eyre::Result<()> {
    let buildkit = BuildKitD::start().await?;
    let mut terminal = Terminal::new()?;
    let res = App::run(&buildkit, &mut terminal);
    ratatui::try_restore()?;
    res
}