Class: Mybatis::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/mybatis/cli.rb

Instance Method Summary collapse

Instance Method Details

#generate(*args) ⇒ Object



16
17
18
# File 'lib/mybatis/cli.rb', line 16

def generate *args
  Mybatis.generate(*args, options)
end

#versionObject



23
24
25
# File 'lib/mybatis/cli.rb', line 23

def version
  say "mybatis-command-line-tool  #{Mybatis::VERSION}"
end