Return True when examples should bypass interactive prompts.
()
| 12 | |
| 13 | |
| 14 | def is_auto_mode() -> bool: |
| 15 | """Return True when examples should bypass interactive prompts.""" |
| 16 | return os.environ.get("EXAMPLES_INTERACTIVE_MODE", "").lower() == "auto" |
| 17 | |
| 18 | |
| 19 | def input_with_fallback(prompt: str, fallback: str) -> str: |
no test coverage detected