mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-18 01:00:42 +00:00
Automatic merge from submit-queue Use variadic nature of *cobra.Command.AddCommand to add group of commands to a parent command **What this PR does / why we need it**: Rather than looping over commands in a group and add it one by one to a parent command, use variadic nature of *cobra.Command.AddCommand to add the group of commands to the parent.