Class: Dynamocli::Client

Inherits:
Thor
  • Object
show all
Defined in:
lib/dynamocli.rb

Instance Method Summary collapse

Instance Method Details

#erase(table) ⇒ Object



34
35
36
# File 'lib/dynamocli.rb', line 34

def erase(table)
  Dynamocli::Erase.new(table_name: table, with_drift: options["with-drift"]).start
end

#import(file) ⇒ Object



17
18
19
# File 'lib/dynamocli.rb', line 17

def import(file)
  Dynamocli::Import.new(file: file, table: options[:to], exported_from_aws: options["exported-from-aws"]).start
end