feat: add compose ps command

Ps is new command scoped under compose. It is just proxy to `docker
compose ps`.
This commit is contained in:
2023-08-09 13:59:58 +02:00
parent b45cfd3e0a
commit e061d6dc6c
4 changed files with 9 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ impl CommandBuilder {
}
fn build(self) -> Result<Command> {
debug_println!("\nran {self}\n");
debug_println!("-----\n{self}\n-----");
let (first, rest) = self.args.split_first().context("empty args")?;
let mut command = Command::new(first);