Problem Statement
Currently, workflow inputs must be passed directly via the command line (e.g., --input key="value") or through interactive prompts. When working with complex workflows, long prompts, or extensive feature specifications, passing large blocks of text as inline strings is cumbersome, hard to read, and error-prone due to escaping issues.
Proposed Solution
It would be highly beneficial to support passing workflow inputs via file references. For example, allowing syntax like:
--input-file payload.json
--input spec=@path/to/file.md
This would allow developers to maintain complex inputs in version-controlled files and easily pass them to the workflow engine.
Alternatives Considered
- Copy-pasting large text blocks directly into the terminal prompt.
- Writing custom shell wrapper scripts to read files and interpolate their contents into the CLI command, which quickly becomes difficult to maintain when handling quotes and special characters.
Component
Specify CLI (initialization, commands)
AI Agent (if applicable)
None
Use Cases
No response
Acceptance Criteria
No response
Additional Context
No response
Problem Statement
Currently, workflow inputs must be passed directly via the command line (e.g.,
--input key="value") or through interactive prompts. When working with complex workflows, long prompts, or extensive feature specifications, passing large blocks of text as inline strings is cumbersome, hard to read, and error-prone due to escaping issues.Proposed Solution
It would be highly beneficial to support passing workflow inputs via file references. For example, allowing syntax like:
--input-file payload.json--input spec=@path/to/file.mdThis would allow developers to maintain complex inputs in version-controlled files and easily pass them to the workflow engine.
Alternatives Considered
Component
Specify CLI (initialization, commands)
AI Agent (if applicable)
None
Use Cases
No response
Acceptance Criteria
No response
Additional Context
No response