// Validate checks that the required arguments have been provided
Validate checks that the required arguments have been provided
// Validate checks that the required arguments have been provided
func (c *CreateCmd) Validate(args []string) error {
	if len(args) <= 0 {
		return fmt.Errorf("new class name should be provided")
	}
	c.Name = args[0]
	return nil
}
func ( c * CreateCmd ) Validate ( args [ ] string ) error { if len ( args ) <= 0 { return fmt . Errorf ( " " ) } c . Name = args [ 0 ] return nil }
Validate checks that the required arguments have been provided
Validate checks that the required arguments have been provided