agentctl/workflow/steps/image_processing.rs
1use super::automation::AutomationInvocation;
2use crate::workflow::schema::{AutomationStep, AutomationTool};
3
4pub fn build(step: &AutomationStep) -> AutomationInvocation {
5 let args = if step.args.is_empty() {
6 vec!["info".to_string(), "--help".to_string()]
7 } else {
8 step.args.clone()
9 };
10
11 AutomationInvocation::new(
12 AutomationTool::ImageProcessing,
13 "image-processing",
14 args,
15 Vec::new(),
16 )
17}