feat: remove stop_all

This commit is contained in:
2026-09-07 13:46:07 +00:00
parent 9caf9599b3
commit 0aeecdcb54
2 changed files with 0 additions and 16 deletions

View File

@@ -1,15 +0,0 @@
use anyhow::Result;
use crate::command_builder::CommandBuilder;
pub fn stop_all() -> Result<()> {
let running_containers = CommandBuilder::docker().args("ps -q").exec_get_stdout()?;
if running_containers.is_empty() {
return Ok(());
}
CommandBuilder::docker()
.args(&format!("stop {running_containers}"))
.exec()
}

View File

@@ -1,6 +1,5 @@
pub mod completions; pub mod completions;
pub mod django; pub mod django;
pub mod docker;
pub mod docker_compose; pub mod docker_compose;
pub mod link; pub mod link;
pub mod postgres; pub mod postgres;