// NewDeregisterCmd builds a "svcat deregister" command
NewDeregisterCmd builds a "svcat deregister" command
// NewDeregisterCmd builds a " svcat deregister " command
func NewDeregisterCmd(cxt *command.Context) *cobra.Command {
	deregisterCmd := &DeregisterCmd{
		Context: cxt,
	}
	cmd := &cobra.Command{
		Use:   "deregister NAME",
		Short: "Deregisters an existing broker with service catalog",
		Example: command.NormalizeExamples(`
		svcat deregister mysqlbroker
		`),
		PreRunE: command.PreRunE(deregisterCmd),
		RunE:    command.RunE(deregisterCmd),
	}
	return cmd
}
func NewDeregisterCmd ( cxt * command . Context ) * cobra . Command { deregisterCmd := & DeregisterCmd { Context : cxt , } cmd := & cobra . Command { Use : " " , Short : " " , Example : command . NormalizeExamples ( `
		svcat deregister mysqlbroker
		` ) , PreRunE : command . PreRunE ( deregisterCmd ) , RunE : command . RunE ( deregisterCmd ) , } return cmd }
NewDeregisterCmd builds a "svcat deregister" command
NewDeregisterCmd builds a " svcat deregister " command