use ironflow_store::models::StepKind;
use crate::config::{ShellConfig, StepConfig};
use crate::context::WorkflowContext;
use crate::error::EngineError;
use crate::executor::StepOutput;
impl WorkflowContext {
pub async fn shell(
&mut self,
name: &str,
config: ShellConfig,
) -> Result<StepOutput, EngineError> {
self.execute_step(name, StepKind::Shell, StepConfig::Shell(config))
.await
}
}