code: func NewCmdConfigPrint(out io.Writer) *cobra.Command {
  	cmd := &cobra.Command{
  		Use:   "print",
  		Short: "Print configuration",
  		Long:  "This command prints configurations for subcommands provided.",
  		RunE:  cmdutil.SubCmdRunE("print"),
  	}
  	cmd.AddCommand(NewCmdConfigPrintInitDefaults(out))
  	cmd.AddCommand(NewCmdConfigPrintJoinDefaults(out))
  	return cmd
  }
docs: // NewCmdConfigPrint returns cobra.Command for "kubeadm config print" command