Class: Dynamocli::Client

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

Instance Method Summary collapse

Instance Method Details

#erase(table) ⇒ Object



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

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

#import(file) ⇒ Object



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

def import(file)
  Dynamocli::Import.new(file: file, table: options[:to]).start
end