MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / _has_inquirerpy

Function _has_inquirerpy

unity_cli/hub/interactive.py:17–24  ·  view source on GitHub ↗

Check if InquirerPy is available.

()

Source from the content-addressed store, hash-verified

15
16
17def _has_inquirerpy() -> bool:
18 """Check if InquirerPy is available."""
19 try:
20 import importlib.util
21
22 return importlib.util.find_spec("InquirerPy") is not None
23 except ImportError:
24 return False
25
26
27def prompt_editor_selection(

Callers 2

prompt_editor_selectionFunction · 0.85
prompt_confirmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected