Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfirmPrompt ¶
ConfirmPrompt prompts for a yes/no confirmation
func InputPrompt ¶
InputPrompt prompts for user input
Types ¶
type ModeDetector ¶
type ModeDetector struct {
// contains filtered or unexported fields
}
ModeDetector detects the terminal mode
func NewModeDetector ¶
func NewModeDetector() *ModeDetector
NewModeDetector creates a new mode detector
func (*ModeDetector) IsGumAvailable ¶
func (d *ModeDetector) IsGumAvailable() bool
IsGumAvailable returns true if gum is available
func (*ModeDetector) IsInteractive ¶
func (d *ModeDetector) IsInteractive() bool
IsInteractive returns true if in interactive mode
func (*ModeDetector) IsNonInteractive ¶
func (d *ModeDetector) IsNonInteractive() bool
IsNonInteractive returns true if in non-interactive mode
func (*ModeDetector) IsPlainCLI ¶
func (d *ModeDetector) IsPlainCLI() bool
IsPlainCLI returns true if in plain CLI mode
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
TUI model for sl new command
func InitialModel ¶
InitialModel creates initial model with default directory
type Program ¶
type Program struct {
// contains filtered or unexported fields
}
Program wraps Bubble Tea program execution
func NewProgram ¶
NewProgram creates a new interactive Bubble Tea program
type TerminalMode ¶
type TerminalMode int
TerminalMode represents the current terminal mode
const ( ModeInteractive TerminalMode = iota ModeNonInteractive ModePlainCLI )
Click to show internal directories.
Click to hide internal directories.