feat: add compose exec and compose bash commands
Exec is new command scoped under compose. It allows sending commands directly into appserver container. I will make this customizable/controllable in the future.
This commit is contained in:
@@ -24,6 +24,12 @@ impl From<&String> for Args {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<&[String]> for Args {
|
||||
fn from(value: &[String]) -> Self {
|
||||
Self(Vec::from_iter(value.iter().map(|x| x.to_string())))
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct CommandBuilder {
|
||||
args: Vec<String>,
|
||||
|
||||
Reference in New Issue
Block a user