MCPcopy Create free account
hub / github.com/algolia/cli / DescribeCommand

Function DescribeCommand

internal/docs/docs.go:137–139  ·  view source on GitHub ↗

DescribeCommand returns a machine-readable description of a command.

(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

135
136// DescribeCommand returns a machine-readable description of a command.
137func DescribeCommand(cmd *cobra.Command) Command {
138 return describeCommand(cmd)
139}
140
141// FindCommand resolves a command path against the provided root command.
142func FindCommand(root *cobra.Command, args []string) (*cobra.Command, error) {

Callers 1

runDescribeCmdFunction · 0.92

Calls 1

describeCommandFunction · 0.85

Tested by

no test coverage detected