class DatoDump::Cli
Public Instance Methods
produce()
click to toggle source
# File lib/dato_dump/cli.rb, line 15 def produce configuration = Configuration.new(options[:config]) client = Client.new(configuration) repo = EntitiesRepo.new(client.space, client.records) dumper = Dumper.new(repo, configuration) dumper.dump # rescue Exception => error # raise Thor::Error, error.message end