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§
Functions§
- ask_
agent - Ask which agent to set up. End of input takes the default.
- ask_
choice - Ask for one of
options.Noneat end of input, or with nothing to choose from. - ask_
mode - Ask how sessions should be traced.
Noneat end of input: nothing chosen. - ask_
scope - Ask what to set up.
Noneat end of input: nothing chosen. - ask_
text - Ask for a line of text;
Nonewhen nothing was typed. - 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.
Nonewhen it names neither. - parse_
choice - The entry of a list of
countan answer names by its number, from 1. - parse_
mode_ choice - The mode an answer names: its number in the list, or its name. An empty
answer takes the default, hooks.
Nonewhen it names neither. - parse_
scope_ choice - The scope an answer names: its number in the list, or its name. An empty
answer takes
default.Nonewhen it names none. - 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_urlin the user config atpath, creating the file if needed and leaving everything else in it as it is. - save_
gateway_ setting - Record
keyunder[gateway]in the user config atpath, creating the file if needed. A file with no[gateway]table gets one at its end and is otherwise kept byte for byte; one that has it is rewritten from its parsed form. - save_
tracing_ mode - Record
tracing_modein the user config atpath, the same way.