lib/dato/dump/runner.rb in dato-0.1.26 vs lib/dato/dump/runner.rb in dato-0.1.27

- old
+ new

@@ -14,19 +14,24 @@ @client = client @destination_path = destination_path end def run + print "Fetching content from DatoCMS... " + loader.load + I18n.available_locales = loader.items_repo.available_locales + Dsl::Root.new( File.read(config_path), loader.items_repo, operation ) - I18n.available_locales = loader.items_repo.available_locales operation.perform + + puts "\e[32m✓\e[0m Done!" end def operation @operation ||= Operation::Root.new(destination_path) end