IsPluginCommand checks if the given cmd is a plugin-stub.
(cmd *cobra.Command)
| 228 | |
| 229 | // IsPluginCommand checks if the given cmd is a plugin-stub. |
| 230 | func IsPluginCommand(cmd *cobra.Command) bool { |
| 231 | return cmd.Annotations[metadata.CommandAnnotationPlugin] == "true" |
| 232 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…