Documentation ¶
Index ¶
- Constants
- type CLIOptions
- type Config
- type Plugin
- func (cliD *Plugin) Boot(conf interface{}, dependencies ...interface{}) plugins.Plugin
- func (cliD *Plugin) Close() error
- func (cliD *Plugin) IsEnabled() bool
- func (cliD *Plugin) Name() string
- func (cliD *Plugin) ParseFlags(opts interface{}, args []string) ([]string, error)
- func (cliD *Plugin) RunCLI(f func()) error
- func (cliD *Plugin) Start() error
Constants ¶
View Source
const Name = "clidaemon"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIOptions ¶
type CLIOptions struct {
ConfigFile string `short:"c" long:"config" description:"config file" default:"config.yaml"`
}
Click to show internal directories.
Click to hide internal directories.