fix: do not prompt on non-interactive terminals
fixes https://github.com/ajalt/clikt/issues/618
this has backwards compatibility concerns for library users' tests, as demonstrated by the need to alter this project's own existing tests. this could be considered fine as, if it is fixing incorrect behaviour, the existing test would be considered to be making incorrect assertions in the first place.
Is there anything to be done to push this PR and https://github.com/ajalt/clikt/pull/621 through? If it's just a matter of finding the time to review then I understand.
Sorry for the delay. Since the changes are backwards incompatible, I've been waiting until I have time to make a major version release.
Sorry for the delay. Since the changes are backwards incompatible, I've been waiting until I have time to make a major version release.
Totally understandable. Just a heads up that https://github.com/ajalt/clikt/pull/621 is backwards compatibility, so shouldn't require a major version release.