autocomplete

package
v2.66.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FishSuggestions added in v2.66.0

func FishSuggestions(res *core.AutocompleteResponse) string

FishSuggestions formats an autocomplete response for the fish shell: one suggestion per line, "value<TAB>description" when a description exists.

func GetCommands

func GetCommands() *core.Commands

func InstallCommandRun

func InstallCommandRun(ctx context.Context, argsI any) (i any, e error)

func TrimText added in v2.28.0

func TrimText(str string) string

func ZshSuggestions added in v2.66.0

func ZshSuggestions(res *core.AutocompleteResponse) string

ZshSuggestions formats an autocomplete response for the zsh shell: one "value:description" pair per line, as consumed by _describe.

Types

type InstallArgs

type InstallArgs struct {
	Shell    string
	Basename string
}

Jump to

Keyboard shortcuts

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