Skip to content

Print info message when reading from stdin. - #5138

Merged
NullHypothesis merged 1 commit into
masterfrom
make-attenuation-more-user-friendly
Aug 28, 2026
Merged

Print info message when reading from stdin.#5138
NullHypothesis merged 1 commit into
masterfrom
make-attenuation-more-user-friendly

Conversation

@NullHypothesis

Copy link
Copy Markdown
Contributor

When running fly tokens attenuate, we read from stdin but that's not immediately obvious and Ctrl+C won't work. Ctrl+D does, but users may not think of that because, again, it's not obvious that fly is reading from stdin. Let's print an info message to make this more clear:

$ fly tokens attenuate
Reading caveats from stdin; press Ctrl+D to exit.

When running `fly tokens attenuate`, we read from `stdin` but that's not
immediately obvious and Ctrl+C won't work. Ctrl+D does, but users may
not think of that because, again, it's not obvious that `fly` is reading
from `stdin`. Let's print an info message to make this more clear:

    $ fly tokens attenuate
    Reading caveats from stdin; press Ctrl+D to exit.
@NullHypothesis
NullHypothesis merged commit 4c02566 into master Aug 28, 2026
24 of 27 checks passed
@NullHypothesis
NullHypothesis deleted the make-attenuation-more-user-friendly branch August 28, 2026 16:32
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