Class: Zcr::Zen::CLI

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

Instance Method Summary collapse

Instance Method Details

#add(generator, *options) ⇒ Object



12
13
14
# File 'lib/zcr/zen/cli.rb', line 12

def add(generator, *options)
  BoringGenerators::CLI.new.generate("boring:#{generator}:install", options)
end

#versionObject



17
18
19
# File 'lib/zcr/zen/cli.rb', line 17

def version
  say "#{VERSION} #{RUBY_DESCRIPTION}"
end