There doesn't seem to be any way in the entire toolbelt to determine whether I'm logged in without triggering an interactive login.
I'd like for heroku auth:whoami to return with exit status > 0 when not logged in. The actual output in such a case is up to you.
Context: I'm writing a script that calls heroku config, and I'd like to provide a helpful error message.
Agreed. I'm trying to automate the login process, but if there is no current user logged in, an auth:login triggers. Which is a bit annoying