class Thor::Argument

def validate!

def validate!
  raise ArgumentError, "An argument cannot be required and have default value." if required? && !default.nil?
  raise ArgumentError, "An argument cannot have an enum other than an array." if @enum && !@enum.is_a?(Array)
end