(kubectl *cobra.Command)
| 33 | ) |
| 34 | |
| 35 | func GetPluginCommandGroup(kubectl *cobra.Command) templates.CommandGroup { |
| 36 | // Find root level |
| 37 | return templates.CommandGroup{ |
| 38 | Message: i18n.T("Subcommands provided by plugins:"), |
| 39 | Commands: registerPluginCommands(kubectl, false), |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | // SetupPluginCompletion adds a Cobra command to the command tree for each |
| 44 | // plugin. This is only done when performing shell completion that relate |
no test coverage detected
searching dependent graphs…