Sha256: fc46b70b217faf0074185fec6381d71a8f0ffad482d0acbf92312c2eee46ebe9

Contents?: true

Size: 596 Bytes

Versions: 2

Compression:

Stored size: 596 Bytes

Contents

#!/usr/bin/env ruby
#
# MagentoMigrator converts a sql database to a no_sql_database (by default to mongodb)
# Visit http://github.com/gajendrajena/MagentoMigrator for more information.
#
# Author: Gajendra Jena
#

$LOAD_PATH.unshift File.join(
  File.dirname(File.dirname(File.expand_path(__FILE__))), 'lib'
)
require 'magento_migrator/cli'

MagentoMigrator.root = Dir.pwd

begin
  exit MagentoMigrator::CLI::Application.new(ARGV).execute!
rescue MagentoMigrator::MagentoMigratorError => error
  $stderr.puts "Error: #{error}"
  exit MagentoMigrator::CLI::Application.execution_error_status
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-magento_migrator-1.0.1 bin/magento_migrator
workarea-magento_migrator-1.0.0.pre bin/magento_migrator