input

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTextInput

func GetTextInput(title, placeholder string) (string, error)

GetTextInput prompts the user to enter text

func GetTextInputWithLimit

func GetTextInputWithLimit(title, placeholder string, charLimit int) (string, error)

GetTextInputWithLimit prompts the user to enter text with a custom character limit

func ReadAIPrompt

func ReadAIPrompt(aiTool *config.AITool) string

func SelectAITool

func SelectAITool(aiToolsConfig *config.AIToolsConfig) (*config.AITool, error)

SelectAITool prompts the user to select an AI tool from the available tools. The default tool (from config) will be pre-selected as the cursor default.

func SelectOption

func SelectOption(title string, options []string) (string, error)

SelectOption prompts the user to select one option from a list

func SelectProjects

func SelectProjects(projects []config.Project) ([]config.Project, bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL