Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentPlugin ¶
type AgentPlugin struct {
Name string `toml:"name"`
Alias string `toml:"alias"`
Command string `toml:"command"`
Description string `toml:"description"`
Env map[string]string `toml:"env"`
Defaults struct {
Tags []string `toml:"tags"`
} `toml:"defaults"`
}
AgentPlugin defines a custom agent type loaded from config
func LoadAgentPlugins ¶
func LoadAgentPlugins(dir string) ([]AgentPlugin, error)
LoadAgentPlugins scans the given directory for .toml files and loads them.
type CommandPlugin ¶
CommandPlugin represents an executable script plugin
func LoadCommandPlugins ¶
func LoadCommandPlugins(dir string) ([]CommandPlugin, error)
LoadCommandPlugins scans directory for executable files
Click to show internal directories.
Click to hide internal directories.