MCPcopy
hub / github.com/p-e-w/heretic / prompt_path

Function prompt_path

src/heretic/utils.py:148–152  ·  view source on GitHub ↗
(message: str)

Source from the content-addressed store, hash-verified

146
147
148def prompt_path(message: str) -> str:
149 if is_notebook():
150 return prompt_text(message)
151 else:
152 return questionary.path(message, only_directories=True).ask()
153
154
155def prompt_password(message: str) -> str:

Callers 1

runFunction · 0.85

Calls 2

is_notebookFunction · 0.85
prompt_textFunction · 0.85

Tested by

no test coverage detected