MCPcopy
hub / github.com/cli/cli / Dispatch

Method Dispatch

pkg/extensions/extension.go:38–38  ·  view source on GitHub ↗
(args []string, stdin io.Reader, stdout, stderr io.Writer)

Source from the content-addressed store, hash-verified

36 Upgrade(name string, force bool) error
37 Remove(name string) error
38 Dispatch(args []string, stdin io.Reader, stdout, stderr io.Writer) (bool, error)
39 Create(name string, tmplType ExtTemplateType) error
40 EnableDryRunMode()
41 UpdateDir(name string) string

Callers 4

NewCmdExtensionFunction · 0.65
TestManager_DispatchFunction · 0.65
NewCmdExtensionFunction · 0.65

Implementers 3

Managerpkg/cmd/extension/manager.go
ExtensionManagerMockpkg/extensions/manager_mock.go
emcmd/gen-docs/main.go

Calls

no outgoing calls

Tested by 2

TestManager_DispatchFunction · 0.52