shell

package
v0.0.0-...-e67fd50 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

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.

type UserInput

type UserInput = userinput.UserInput

UserInput re-exports the user interaction interface.

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.

Jump to

Keyboard shortcuts

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