Class: Tanuki::Universe::Cli

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/tanuki/universe/cli.rb

Constant Summary collapse

DEFAULT_CONFIG =
'./config.json'

Instance Method Summary collapse

Instance Method Details

#generateObject



21
22
23
# File 'lib/tanuki/universe/cli.rb', line 21

def generate
  Tanuki::Universe::Commands::Generate.new(options['config'])
end

#versionObject



15
16
17
# File 'lib/tanuki/universe/cli.rb', line 15

def version
  puts Tanuki::Universe::VERSION
end