Documentation ¶
Index ¶
- func Execute(plugs []plugins.Plugin, ctx context.Context, root string, name string, ...) error
- func Plugins() []plugins.Plugin
- type AfterNewapper
- type Cmd
- func (Cmd) CmdName() string
- func (cmd *Cmd) Flags() *pflag.FlagSet
- func (cmd *Cmd) Main(ctx context.Context, root string, args []string) error
- func (Cmd) PluginName() string
- func (cmd *Cmd) PrintFlags(w io.Writer) error
- func (cmd *Cmd) ScopedPlugins() []plugins.Plugin
- func (cmd *Cmd) WithPlugins(f plugins.Feeder)
- type Executer
- func (e *Executer) Execute(ctx context.Context, root string, name string, args []string) error
- func (ex *Executer) Flags() *pflag.FlagSet
- func (Executer) PluginName() string
- func (ex *Executer) PrintFlags(w io.Writer) error
- func (e *Executer) ScopedPlugins() []plugins.Plugin
- func (e *Executer) WithPlugins(f plugins.Feeder)
- type Flagger
- type NewCommandRunner
- type Newapper
- type Pflagger
- type Stderrer
- type Stdiner
- type Stdouter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AfterNewapper ¶
type Cmd ¶
type Cmd struct {
// contains filtered or unexported fields
}
func (Cmd) PluginName ¶
func (*Cmd) ScopedPlugins ¶
func (*Cmd) WithPlugins ¶
type Executer ¶
type Executer struct {
// contains filtered or unexported fields
}
func (Executer) PluginName ¶
func (*Executer) ScopedPlugins ¶
func (*Executer) WithPlugins ¶
type NewCommandRunner ¶
Click to show internal directories.
Click to hide internal directories.