Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Discover = sync.OnceValues(func() ([]Plugin, error) { return pluginsInDirs(getPluginDirectories()), nil })
Functions ¶
func UpdatePath ¶
func UpdatePath() error
Types ¶
type Plugin ¶
type Plugin struct {
Name string `json:"name"`
Path string `json:"path"`
Description string `json:"description,omitempty"`
}
func DiscoverBundled ¶ added in v2.3.0
func DiscoverBundled() []Plugin
DiscoverBundled returns the plugins installed with limactl, next to it or in libexec/lima. Unlike Discover, it ignores $PATH, so a plugin of the same name there cannot shadow a bundled one.
Click to show internal directories.
Click to hide internal directories.