Prompt for an API key with inline masked echo (no extra confirmation line).
(prompt: str = "API Key")
| 332 | |
| 333 | |
| 334 | def _prompt_api_key(prompt: str = "API Key") -> str: |
| 335 | """Prompt for an API key with inline masked echo (no extra confirmation line).""" |
| 336 | return _prompt_required_input(prompt, mask=True) |
| 337 | |
| 338 | |
| 339 | def _stdin_stdout_tty() -> bool: |