class AwsRecord::Generators::Base

def initialize(args, *options)

def initialize(args, *options)
  options[0] << "--skip-table-config" if options[1][:behavior] == :revoke
  @parse_errors = []
  super
  ensure_unique_fields
  ensure_hkey
  parse_gsis!
  parse_table_config!
  parse_validations!
  if !@parse_errors.empty?
    STDERR.puts "The following errors were encountered while trying to parse the given attributes"
    STDERR.puts
    STDERR.puts @parse_errors
    STDERR.puts
    abort("Please fix the errors before proceeding.")
  end
end