Documentation ¶
Index ¶
- func FindMissingParams(command types.CommandSpec, params map[string]any) []types.Param
- func HasMissingParams(command types.CommandSpec, params map[string]any) bool
- func IsRootCommand(command types.CommandSpec) bool
- type Extension
- func (e Extension) Cmd(input types.CommandInput) (*exec.Cmd, error)
- func (e Extension) Command(name string) (types.CommandSpec, bool)
- func (ext Extension) Output(input types.CommandInput) ([]byte, error)
- func (e Extension) RootItems() []types.RootItem
- func (e Extension) Run(input types.CommandInput) error
- type ExtensionMap
- type ExtensionType
- type Metadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindMissingParams ¶
func HasMissingParams ¶
func HasMissingParams(command types.CommandSpec, params map[string]any) bool
func IsRootCommand ¶
func IsRootCommand(command types.CommandSpec) bool
Types ¶
type ExtensionMap ¶
type ExtensionType ¶
type ExtensionType string
const ( ExtensionTypeLocal ExtensionType = "local" ExtensionTypeHttp ExtensionType = "http" )
type Metadata ¶
type Metadata struct { Type ExtensionType `json:"type"` Origin string `json:"origin"` Entrypoint string `json:"entrypoint"` }
Click to show internal directories.
Click to hide internal directories.