Documentation
¶
Overview ¶
Package shell aggregates user interaction concerns (userinput, ui, flags) behind a cohesive import for CLI-related functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewConsoleUserInput = userinput.NewConsoleUserInput
NewConsoleUserInput constructs a console-backed UserInput implementation.
View Source
var PromptSelect = userinput.PromptSelect
PromptSelect shows a selection UI and returns the chosen item.
View Source
var PromptSelectDefault = userinput.PromptSelectDefault
PromptSelectDefault shows a selection UI with a preselected default.
View Source
var PromptSelectWithOptions = userinput.PromptSelectWithOptions
PromptSelectWithOptions shows a selection UI with annotations.
View Source
var PromptSelectWithOptionsDefault = userinput.PromptSelectWithOptionsDefault
PromptSelectWithOptionsDefault shows a selection UI with options and a preselection.
Functions ¶
This section is empty.
Types ¶
type SelectOption ¶
type SelectOption = userinput.SelectOption
SelectOption re-exports a selectable option model.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package flagsutil provides utility functions for command-line flag validation.
|
Package flagsutil provides utility functions for command-line flag validation. |
|
Package input provides user input handling and validation functionality
|
Package input provides user input handling and validation functionality |
|
Package log provides application-wide logging utilities and typed errors for consistent log level parsing and reporting.
|
Package log provides application-wide logging utilities and typed errors for consistent log level parsing and reporting. |
|
Package output provides styled helpers for user-facing console messages.
|
Package output provides styled helpers for user-facing console messages. |
|
Package progress provides shared helpers around bubbles progress bars and programs.
|
Package progress provides shared helpers around bubbles progress bars and programs. |
|
Package secretinput provides masked terminal input with temporary reveal support.
|
Package secretinput provides masked terminal input with temporary reveal support. |
|
Package theme defines the shared color palette and base lipgloss styles.
|
Package theme defines the shared color palette and base lipgloss styles. |
|
Package ui provides styling and formatting utilities for terminal UI components.
|
Package ui provides styling and formatting utilities for terminal UI components. |
|
Package userinput provides error types for user input operations.
|
Package userinput provides error types for user input operations. |
Click to show internal directories.
Click to hide internal directories.