Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecutePlugin ¶
ExecutePlugin runs a plugin and returns its exit code
Types ¶
type DiscoveredPlugin ¶
type DiscoveredPlugin struct {
Manifest PluginManifest
Executable string // Full path to executable
}
DiscoveredPlugin pairs a manifest with its executable path
func GetPlugins ¶
func GetPlugins() ([]DiscoveredPlugin, error)
GetPlugins returns discovered plugins, discovering lazily on first call TODO: Consider file-based caching with TTL to avoid manifest fetching on every CLI invocation
type PluginManifest ¶
type PluginManifest struct {
Name string `json:"name"`
Version string `json:"version"`
Description string `json:"description"`
}
PluginManifest represents the JSON manifest returned by plugins TODO: Consider adding Aliases field for command aliases (e.g., "d" for "deploy") TODO: Consider adding MinCLIVersion field for compatibility checking
type PluginRegistry ¶
type PluginRegistry struct {
// contains filtered or unexported fields
}
PluginRegistry holds discovered plugins with lazy initialization
Click to show internal directories.
Click to hide internal directories.