Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoPluginWithNameFound = fmt.Errorf("no plugin with that name could be found in the pluginCache")
Functions ¶
This section is empty.
Types ¶
type CommandSpec ¶ added in v0.9.8
type CommandSpec struct {
Cmd string `yaml:"cmd"`
Help string `yaml:"help,omitempty"`
Subcommands []CommandSpec `yaml:"subcommands,omitempty"`
}
type Engine ¶ added in v0.9.8
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) LoadPlugin ¶ added in v0.9.8
func (*Engine) LoadPlugins ¶ added in v0.9.8
type Manifest ¶ added in v0.9.8
type Manifest struct {
Version string `yaml:"version"`
PluginSpec `yaml:"plugin"`
}
type PluginSpec ¶ added in v0.9.8
type PluginSpec struct {
*CommandSpec `yaml:"cmd,inline"`
Name string `yaml:"name"`
Pkg string `yaml:"pkg"`
}
Click to show internal directories.
Click to hide internal directories.