Skip to content

Add support for both file input and interactive prompts #383

Closed
@bhouston

Description

@bhouston

Feature Request: Support for both file input and interactive prompts

Description

Currently, the CLI supports either reading a prompt from a file () or entering an interactive prompt (), but not both at the same time. This feature request proposes adding the ability to combine both input methods, allowing users to start with file content and then add interactive prompts.

Proposed Behavior

  • When both and flags are provided, the CLI should:
    1. Read the content from the specified file
    2. Prompt the user for additional input via the interactive prompt
    3. Combine both inputs into a single context for the agent

Use Cases

  • Starting with a template or predefined context from a file, then adding specific instructions interactively
  • Augmenting file-based prompts with dynamic user input
  • Maintaining reusable prompt components in files while customizing them per session

Implementation Notes

  • The combined approach should maintain the existing behavior of each flag when used individually
  • The content from the file should be presented first, followed by the interactive input
  • Clear indication should be provided to the user when both inputs are being combined

Acceptance Criteria

  • CLI accepts both and flags simultaneously
  • File content is loaded first
  • User is prompted for additional input
  • Both inputs are combined and sent to the agent
  • Documentation is updated to reflect the new capability

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions