Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(spinner): add Output method to expose overwriting the output #405

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

polds
Copy link

@polds polds commented Sep 5, 2024

This allows callers to override the output used and fixes a line where stdout was always used.

This only applies under Accessible mode (which seems to be the original intention), leaving the tea program writing to Stderr.

The reason for this is under some environments it may be preferable to have Accessible write to stderr - Our usecase is that the spinner produces some json output that is piped to jq in some automated environments, but also availble as a CLI for users.

This only applies under Accessible mode (which seems to be the original intention), leaving the tea program writing to Stderr.

The reason for this is under some environments it may be preferable to have Accessible write to stderr - Our usecase is that the spinner produces some json output that is piped to `jq` in some automated environments, but also availble as a CLI for users.
@bashbunni bashbunni self-requested a review September 10, 2024 12:59
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.

1 participant