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

Function IsDeprecatedCommand

internal/cmdutil/groups.go:16–18  ·  view source on GitHub ↗

IsDeprecatedCommand reports whether c was tagged into the deprecated group.

(c *cobra.Command)

Source from the content-addressed store, hash-verified

14
15// IsDeprecatedCommand reports whether c was tagged into the deprecated group.
16func IsDeprecatedCommand(c *cobra.Command) bool {
17 return c != nil && c.GroupID == DeprecatedGroupID
18}

Callers 1

availableSubcommandNamesFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected