dsherret / dax

Cross-platform shell tools for Deno and Node.js inspired by zx.
MIT License
965 stars 33 forks source link

feat: enable text, lines, and json to pull from stderr or combined buffers #241

Closed zephraph closed 2 months ago

zephraph commented 4 months ago

There's been a few times where I've needed to grab info from stderr and the ergonomics of doing so are much worse than stdout given the lack of helpers for it. I've updated some of the original helpers for stdout to also optionally be used for stderr or both streams combined.

There's probably a few more tests to write here and I may have missed something.

Let me know what you think!

zephraph commented 3 months ago

If there's anything I should update let me know!