shell-cell 1.6.3

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 self::app::App;
use crate::{buildkit::BuildKitD, cli::terminal::Terminal};

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