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