shell

package
v0.0.0-...-3293c21 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 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 SelectOptions = userinput.SelectOptions

SelectOptions converts plain values to select options.

Functions

This section is empty.

Types

type ConfirmConfig

type ConfirmConfig = userinput.ConfirmConfig

ConfirmConfig re-exports confirmation prompt configuration.

type MultiSelectConfig

type MultiSelectConfig = userinput.MultiSelectConfig

MultiSelectConfig re-exports multi-select prompt configuration.

type MultilineConfig

type MultilineConfig = userinput.MultilineConfig

MultilineConfig re-exports multi-line prompt configuration.

type SecretConfig

type SecretConfig = userinput.SecretConfig

SecretConfig re-exports secret prompt configuration.

type SelectConfig

type SelectConfig = userinput.SelectConfig

SelectConfig re-exports select prompt configuration.

type SelectOption

type SelectOption = userinput.SelectOption

SelectOption re-exports a selectable option model.

type TextInputConfig

type TextInputConfig = userinput.TextInputConfig

TextInputConfig re-exports text input prompt configuration.

type UserInput

type UserInput = userinput.UserInput

UserInput re-exports the user interaction interface.

type YesNoConfig

type YesNoConfig = userinput.YesNoConfig

YesNoConfig re-exports yes/no prompt configuration.

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 uipreview renders deterministic terminal UI component previews.
Package uipreview renders deterministic terminal UI component previews.
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