Skip to main content

Module interactive

Module interactive 

Source
Expand description

Asking for what visdom init was not told on the command line. Only ever used when both stdin and stderr are a terminal; without one, init behaves as if nothing could be asked and says what to pass instead.

Enums§

UrlAnswer
What a typed URL answer means.

Functions§

ask_agent
Ask which agent to set up. End of input takes the default.
ask_url
Ask for a URL until one is given or the question is skipped (Enter, or end of input).
is_interactive
Whether there is somebody to ask.
parse_agent_choice
The agent an answer names: its number in the list, or its name. An empty answer takes the default, Claude Code. None when it names neither.
parse_url_answer
A bare host is taken as https; anything that is then not an absolute http(s) URL is invalid.
save_bazaar_url
Record bazaar_url in the user config at path, creating the file if needed and leaving everything else in it as it is.