Skip to content

Support command pipes, i.e. reading from stdin and writing to stdout #83

@christerswahn

Description

@christerswahn

This seems like a great tool! Will really save time and headache in our project.

However it is tricky to use by other command development libraries and their scripted build pipelines since it does not support standard command piping, i.e. reading the configuration from stdin.

completely preview can output to stdout but it is a bit strange to use a command called "preview" for production use.

What would be great would be to write:

$ my-command-yaml-generator | completely generate | completely install my-command

E.g. using just completely's example:

$ completely init | completely generate | completely install mygit

Also, it is not possible to specify completely generate OUTPUT_PATH without the CONFIG_PATH option, which would be needed if the input is from stdin:

$ my-command-yaml-generator | completely generate myfile.bash

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions