picker

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package picker provides Bubble Tea pickers for interactive selection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectPickerResult

type ProjectPickerResult struct {
	Project   types.Project
	Cancelled bool
}

ProjectPickerResult holds the result of a project picker session.

func RunProjectPicker

func RunProjectPicker(projects []types.Project, title string) (*ProjectPickerResult, error)

RunProjectPicker launches a Bubble Tea project picker and returns the selected project.

type TaskPickerResult

type TaskPickerResult struct {
	Task        types.Task
	ProjectName string
	Cancelled   bool
}

TaskPickerResult holds the result of a task picker session.

func RunTaskPicker

func RunTaskPicker(tasks []types.Task, projectNames []string, title string) (*TaskPickerResult, error)

RunTaskPicker launches a Bubble Tea task picker and returns the selected task.

Jump to

Keyboard shortcuts

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