MCPcopy
hub / github.com/larksuite/cli / cobraCommandView

Struct cobraCommandView

cmd/platform_bootstrap.go:188–190  ·  view source on GitHub ↗

cobraCommandView adapts *cobra.Command to the CommandView interface.

Source from the content-addressed store, hash-verified

186
187// cobraCommandView adapts *cobra.Command to the CommandView interface.
188type cobraCommandView struct {
189 cmd *cobra.Command
190}
191
192func (v cobraCommandView) Path() string {
193 return cmdpolicy.CanonicalPath(v.cmd)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected