// Validate checks that the required arguements have been provided
Validate checks that the required arguements have been provided
// Validate checks that the required arguements have been provided
func (c *DeregisterCmd) Validate(args []string) error {
	if len(args) == 0 {
		return fmt.Errorf("a broker name is required")
	}
	c.BrokerName = args[0]
	return nil
}
func ( c * DeregisterCmd ) Validate ( args [ ] string ) error { if len ( args ) == 0 { return fmt . Errorf ( " " ) } c . BrokerName = args [ 0 ] return nil }
Validate checks that the required arguements have been provided
Validate checks that the required arguements have been provided