Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitspacePlugin ¶
type GitspacePlugin interface {
Name() string
Version() string
Description() string
Run(logger *log.Logger) error
GetMenuOption() *huh.Option[string]
Standalone(args []string) error
SetConfig(config PluginConfig)
}
GitspacePlugin defines the interface that all plugins must implement
type PluginConfig ¶
type PluginConfig struct {
Metadata PluginMetadata `toml:"metadata"`
Menu struct {
Title string `toml:"title"`
Key string `toml:"key"`
} `toml:"menu"`
}
PluginConfig contains the configuration for the plugin
Click to show internal directories.
Click to hide internal directories.