From 611aad6665e7587c717cced5cbd01fead68508c0 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 23 Jan 2025 04:07:27 -0500 Subject: [PATCH] fixup icepick workflow argument requirements --- crates/icepick/src/cli/workflow.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/icepick/src/cli/workflow.rs b/crates/icepick/src/cli/workflow.rs index fe2f7f0..fc4ee47 100644 --- a/crates/icepick/src/cli/workflow.rs +++ b/crates/icepick/src/cli/workflow.rs @@ -88,8 +88,9 @@ pub fn generate_command(workflow: &Workflow) -> clap::Command { "A file containing any inputs not passed on the command line" )); for input in &workflow.inputs { + // can also be included in the JSON file, so we won't mark this as required. let arg = clap::Arg::new(input) - .required(true) + .required(false) .long(input.replace('_', "-")) .value_name(input.to_uppercase()); command = command.arg(arg);