Skip to content

Implement output routing for stdout, output file, and output directory #5

Description

@Matographo

Summary

Support stdout as the default output, file output via -o, and directory output for directory rendering.

Why

Output behavior must be deterministic to make the CLI safe for scripting and file generation.

Deliverables

  • stdout default for string and file input
  • File output target handling
  • Directory output target handling
  • Error handling for invalid mode combinations

Acceptance Criteria

  • String and file input default to stdout
  • Output files and output directories are supported via -o
  • Directory input without -o returns a usage error
  • Relative structure is preserved for directory output

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliCommand-line interface behavior and parsingpriority:highHigh-priority work itemrenderingRendering pipeline and output behaviortestingAutomated testing and validation coverage

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions