pkg/cmd/experimental/config/config.go
5920c0bd
 package config
 
 import (
 	"io"
 
 	"github.com/spf13/cobra"
 
6267dded
 	"github.com/openshift/origin/pkg/cmd/templates"
5920c0bd
 	cmdutil "github.com/openshift/origin/pkg/cmd/util"
 	"github.com/openshift/origin/pkg/cmd/util/clientcmd"
 )
 
 const ConfigRecommendedName = "config"
 
6267dded
 var configLong = templates.LongDesc(`Manage cluster configuration files like master-config.yaml.`)
5920c0bd
 
 func NewCmdConfig(name, fullName string, f *clientcmd.Factory, out, errout io.Writer) *cobra.Command {
 	cmd := &cobra.Command{
 		Use:   name,
 		Short: "Manage config",
 		Long:  configLong,
 		Run:   cmdutil.DefaultSubCommandRun(out),
 	}
 
 	cmd.AddCommand(NewCmdPatch(PatchRecommendedName, fullName+" "+PatchRecommendedName, f, out))
 
 	return cmd
 }