Skip to content

[RFC] Implement a way to construct pipes #12

@chshersh

Description

@chshersh

When I need to call pipes I often end with the code like this:

callCommand $ "git diff " <> commit <> " --color=always | diff-highlight | less -rFX"

I can use $| operator but it's not efficient. So maybe having some additional function would be useful and I can rewrite it like this:

pipes $ "git" [commit, "--color=always"] <> "diff-highlight" [] <> "less" ["-rfX"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions