Help us shape the future of Go! Take the 2026 Go Developer Survey

menu

package
v0.0.0-...-0dc2be2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitArgs

func SplitArgs(line string) []string

Types

type Choice

type Choice struct {
	Name string
	Args []string
}

func Select

func Select(cfg Config) (Choice, bool, error)

type Config

type Config struct {
	Title    string
	Greeting string
	Items    []Item
}

type Item

type Item struct {
	Name    string
	Args    string
	Summary string
	Group   string
}

func (Item) Description

func (i Item) Description() string

func (Item) FilterValue

func (i Item) FilterValue() string

func (Item) Title

func (i Item) Title() string

Jump to

Keyboard shortcuts

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