Class: Migr8::Actions::InitAction

Inherits:
Action
  • Object
show all
Defined in:
lib/migr8.rb

Constant Summary collapse

NAME =
"init"
DESC =
"create necessary files and a table"
OPTS =
[]
ARGS =
nil

Instance Method Summary collapse

Methods inherited from Action

#cmdopterr, find_by_name, #get_command, inherited, #parse, #parser, #repository, #short_usage, subclasses, #usage

Instance Method Details

#run(options, args) ⇒ Object



1485
1486
1487
# File 'lib/migr8.rb', line 1485

def run(options, args)
  repository().init()
end