Skip to content

Ability to pipe to cmd2 commands #978

Closed
@tleonhardt

Description

@tleonhardt

One feature of a "normal" shell that cmd2 applications are currently missing is the ability for a cmd2 command to pipe output to other cmd2 commands - it is limited to piping output to shell commands only. Occasionally this limitation feels significant. I know it can be worked around by creating a custom Python script and using the run_pyscript command to run that, but it would be much more natural if we could just pipe output to other cmd2 commands.

I have no idea how easy or difficult implementing this feature might be. But we should at least explore the possibility.

This would be a great "big new feature" to include in a 2.0 release.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions