Skip to content

Do not prompt a user for input when not outputting to a tty

Compare
Choose a tag to compare
@bsquizz bsquizz released this 04 Nov 18:49
· 82 commits to master since this release
3ec5205
Do not prompt a user for input when not outputting to a tty (#262)

* fix: Add check for tty when prompting for action

If we're not outputting to a tty then we shouldn't prompt a user for
input. Setting this up so that we error out sooner

Signed-off-by: Stephen Adams <stephen.adams@redhat.com>
Co-authored-by: Brandon Squizzato <bsquizza@redhat.com>