code: func NewCmdCreateService(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command {
  	cmd := &cobra.Command{
  		Use:     "service",
  		Aliases: []string{"svc"},
  		Short:   i18n.T("Create a service using specified subcommand."),
  		Long:    "Create a service using specified subcommand.",
  		Run:     cmdutil.DefaultSubCommandRun(ioStreams.ErrOut),
  	}
  	cmd.AddCommand(NewCmdCreateServiceClusterIP(f, ioStreams))
  	cmd.AddCommand(NewCmdCreateServiceNodePort(f, ioStreams))
  	cmd.AddCommand(NewCmdCreateServiceLoadBalancer(f, ioStreams))
  	cmd.AddCommand(NewCmdCreateServiceExternalName(f, ioStreams))
  
  	return cmd
  }
docs: // NewCmdCreateService is a macro command to create a new service