vezel-dev / cathode

A terminal-centric replacement for the .NET console APIs.
https://docs.vezel.dev/cathode
BSD Zero Clause License
91 stars 7 forks source link

Provide convenient APIs for piping between child processes #75

Open alexrp opened 2 years ago

alexrp commented 2 years ago

It should be easy to pipe from one child process to another, as well as to/from files, streams, collections, etc.

Overloaded operators such as |, >, and < should be provided to easily achieve shell-like piping semantics.

alexrp commented 8 months ago

We should definitely take inspiration from MedallionShell for this: https://github.com/madelson/MedallionShell/blob/e45f1f6ffd4cde752bc21753c476a6f7cac0f01d/MedallionShell/Command.cs