### Go Prompt: Prompt Model Interface Source: https://github.com/cqroot/prompt/blob/main/README.md Describes the `prompt.Prompt` and child models' adherence to the `tea.Model` interface from Bubble Tea, allowing integration into Bubble Tea applications. ```APIDOC Interface: prompt.Prompt Implements: tea.Model Purpose: Core model for interactive prompts, compatible with Bubble Tea's architecture. Child Models: All child prompt models also implement tea.Model. ``` -------------------------------- ### Go Prompt: MultiChoose Multiple Options Source: https://github.com/cqroot/prompt/blob/main/README.md Enables the user to select multiple strings from a given list using a terminal UI. Supports theme customization. ```APIDOC Function: MultiChoose(options []string, ...opts Options) Purpose: Presents a list of strings for the user to select multiple. Parameters: options: A slice of strings representing the choices. opts: Optional parameters for customization, including theme. Returns: A slice of selected strings. Variations: Supports custom themes. ``` -------------------------------- ### Go Prompt: Choose Single Option Source: https://github.com/cqroot/prompt/blob/main/README.md Allows the user to select a single string from a list of options using a terminal UI. Supports theme customization. ```APIDOC Function: Choose(options []string, ...opts Options) Purpose: Presents a list of strings for the user to select one. Parameters: options: A slice of strings representing the choices. opts: Optional parameters for customization, including theme. Returns: The selected string. Variations: Supports custom themes. ``` -------------------------------- ### Go Prompt: Input String Source: https://github.com/cqroot/prompt/blob/main/README.md Facilitates user input of a string via the terminal UI. Includes options for restricting input to numbers or integers, password masking, and custom validation. ```APIDOC Function: Input(prompt string, ...opts Options) Purpose: Prompts the user to enter a string. Parameters: prompt: The message displayed to the user. opts: Optional parameters for customization. Returns: The string entered by the user. Variations: - Password input (echo-password, echo-none) - Numeric input (integer-only, number-only) - Custom validation ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.