MCPcopy
hub / github.com/spf13/cobra

github.com/spf13/cobra @v1.10.2 sqlite

608 symbols 2,915 edges 36 files 244 documented

Extension points exported contracts — how you extend this code

SliceValue (Interface)
SliceValue is a reduced version of [pflag.SliceValue]. It is used to detect flags that accept multiple values and theref
completions.go
PositionalArgs (FuncType)
(no doc)
args.go
UserCompletionTypeHelper (FuncType)
(no doc)
completions_test.go

Core symbols highest fan-in

Flags
called by 197
command.go
AddCommand
called by 157
command.go
Name
called by 127
command.go
Error
called by 79
completions.go
WriteStringAndCheck
called by 61
cobra.go
PersistentFlags
called by 56
command.go

Shape

Function 420
Method 169
Struct 11
TypeAlias 5
FuncType 2
Interface 1

Dependencies from manifests, versioned

github.com/cpuguy83/go-md2man/v2v2.0.6 · 1×
github.com/inconshreveable/mousetrapv1.1.0 · 1×
github.com/spf13/pflagv1.0.9 · 1×
go.yaml.in/yaml/v3v3.0.4 · 1×

For agents

$ claude mcp add cobra \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact