Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListInColumns ¶
ListInColumns prints a slice of strings in equal-width columns. It uses the Termsz library to get the terminal size to calculate the optimal number of columns. If the terminal size cannot be obtained, the function returns an error.
func ListInSingleColumn ¶
func ListInSingleColumn(list []string)
ListInSingleColumn prints a slice of strings in a single column.
func MultiSelectPrompt ¶
MultiSelectPrompt displays a multi-select prompt with the provided message and options and returns the user's selections as a slice of strings and an error if any.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.