Skip to content

[Feature]: Support file references for workflow inputs #2405

Description

@markuswondrak

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions