Sha256: 38b0f70ce91801ffe678ec71dc6dc6e39385c11d67c7949cb543ac78128195ca

Contents?: true

Size: 247 Bytes

Versions: 3

Compression:

Stored size: 247 Bytes

Contents

require_relative 'migrator'
require 'yaml'

module Command
  class CLI < Escort::ActionCommand::Base

    def execute
      setting_file = YAML.load_file(global_options[:file])
      Migrator.new(setting_file).run(command_name)
    end

  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
database-exporter-0.0.2 lib/cli.rb
drupal-exporter-0.0.1 lib/cli.rb
database-exporter-0.0.1 lib/cli.rb