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(cli): return immediately when stdin is empty #15

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

matyama
Copy link
Owner

@matyama matyama commented Jul 24, 2024

With this change, calling bitcli (or bitcli shorten) without any arguments will no longer wait for the standard input indefinitely if it's empty and its handle does not refer to a terminal/tty.

With this change, calling `bitcli` (or `bitcli shorten`) without any
arguments will no longer wait for the standard input indefinitely if
it's empty and its handle does not refer to a terminal/tty.
@matyama matyama merged commit ba6e0ad into main Jul 24, 2024
6 checks passed
@matyama matyama deleted the handle-empty-stdin branch July 24, 2024 08:30
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