autocompletion

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAvailablePlugins

func GetAvailablePlugins() map[string]*PluginInfo

GetAvailablePlugins returns all available plugins from the manager's plugins and built-ins.

func GetTaskCompletions

func GetTaskCompletions(toComplete string) ([]string, cobra.ShellCompDirective)

GetTaskCompletions returns completion suggestions for plugin:task format.

Types

type PluginInfo

type PluginInfo struct {
	Name  string
	Tasks map[string]*TaskInfo
}

type TaskInfo

type TaskInfo struct {
	Name    string
	Summary string
}

Jump to

Keyboard shortcuts

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