Sha256: 04e0c54e0a6f994ec44663fccb1a655ca06b457db2b08cda7b19d02597b0680b

Contents?: true

Size: 262 Bytes

Versions: 4

Compression:

Stored size: 262 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, command_options)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wordpress-exporter-0.2.0 lib/cli.rb
wordpress-exporter-0.1.0 lib/cli.rb
wordpress-exporter-0.0.2 lib/cli.rb
wordpress-exporter-0.0.1 lib/cli.rb