Documentation ¶
Index ¶
Constants ¶
View Source
const (
CommandManifestContextKey = "commandManifest"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
Builder is responsible for building the CLI from command manifests
func NewBuilder ¶
func NewBuilder(paths environment.Paths, commandWrapper CommandWrapper) Builder
type CommandWrapper ¶
type CommandWrapper interface {
Wrap(plugin2 *plugin.Plugin) func(cmd *cobra.Command, args []string)
}
CommandWrapper is responsible for wrapping the command manifest to cobra command
func NewCmdWrapper ¶ added in v0.0.7
func NewCmdWrapper(exec process.Executor, pluginManager plugin.Manager) CommandWrapper
Click to show internal directories.
Click to hide internal directories.