Class: Command::CLI

Inherits:
Escort::ActionCommand::Base
  • Object
show all
Defined in:
lib/cli.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



6
7
8
9
# File 'lib/cli.rb', line 6

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