MCPcopy
hub / github.com/cli/cli / Create

Method Create

pkg/extensions/extension.go:39–39  ·  view source on GitHub ↗
(name string, tmplType ExtTemplateType)

Source from the content-addressed store, hash-verified

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
42}

Callers 5

TestFindNonLegacyFunction · 0.65
TestFindLegacyFunction · 0.65
GenMarkdownTreeCustomFunction · 0.65
genManTreeFromOptsFunction · 0.65
makeFileUnwriteableFunction · 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 3

TestFindNonLegacyFunction · 0.52
TestFindLegacyFunction · 0.52
makeFileUnwriteableFunction · 0.52