agentctl/workflow/steps/fzf_cli.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!["help".to_string()]
7 } else {
8 step.args.clone()
9 };
10
11 AutomationInvocation::new(AutomationTool::FzfCli, "fzf-cli", args, Vec::new())
12}