Skip to content

Feature request: Reading from stdin #12

@vorpalhex

Description

@vorpalhex
> cat test-twee/trivial.twee | tweego -f jailbird -
warning: path -: Reading from standard input is unsupported.
error: Starting passage "Start" not found.

Passing files via stdin is useful in many situations including as part of toolchains and in docker-based environments. This should be as simple as seeing if sources is empty and reading from os.Stdin instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions