Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Keeper-Security/Commander
/ _is_interactive
Function
_is_interactive
keepercommander/auth/console_ui.py:24–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
23
24
def
_is_interactive():
25
try
:
26
return
bool(sys.stdin) and sys.stdin.isatty()
27
except
Exception:
28
return
False
29
30
31
def
_fail_headless_auth(step):
Callers
5
on_device_approval
Method · 0.85
on_two_factor
Method · 0.85
on_password
Method · 0.85
on_sso_redirect
Method · 0.85
on_sso_data_key
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected