lib/main_client.rb in magnoline-0.1 vs lib/main_client.rb in magnoline-0.2

- old
+ new

@@ -24,16 +24,16 @@ # Main method: using --help on the command line gives the example usages # Create command line parser ies = MagnoliaClient::ImportExportSetUp.new -# parse the parameters +# parse the parameters, and get an array of commands t1 = Time.new -ie = ies.parse(ARGV) +ie_array = ies.parse(ARGV) t2 = Time.new puts "parse took:"+ (t2 - t1).to_s -# execute the command +# execute the command(s) t3 = Time.new -ie.exec +ie_array.each {|ie| ie.exec} t4 = Time.new puts "exec took:"+ (t4 - t3).to_s