Skip to content

Support stderr output via stream option#26

Open
joshwlewis wants to merge 3 commits into
SamVerschueren:masterfrom
joshwlewis:stderr-render-option
Open

Support stderr output via stream option#26
joshwlewis wants to merge 3 commits into
SamVerschueren:masterfrom
joshwlewis:stderr-render-option

Conversation

@joshwlewis
Copy link
Copy Markdown

For CLI commands that aim to be used as a part of a pipe, it's more appropriate to put human-readable and informational logs on stderr. This renderer only supports stdout as it is. This PR adds the option to render to other streams like stderr by passing in a stream option like { stream: process.stderr }.

jabrown85 and others added 2 commits October 12, 2020 10:28
When successfully ending with this error, the `options` were undefined because we were missing a param.
fix: missing logUpdater param
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants