MCPcopy Index your code
hub / github.com/dbcli/mycli / prompt

Function prompt

mycli/packages/interactive_utils.py:52–57  ·  view source on GitHub ↗

Prompt the user for input and handle any abort exceptions.

(*args, **kwargs)

Source from the content-addressed store, hash-verified

50
51
52def prompt(*args, **kwargs) -> bool:
53 """Prompt the user for input and handle any abort exceptions."""
54 try:
55 return click.prompt(*args, **kwargs)
56 except click.Abort:
57 return False

Callers 1

Calls 1

promptMethod · 0.45

Tested by

no test coverage detected