Class: Nextgen::CLI

Inherits:
Thor
  • Object
show all
Extended by:
ThorExtensions
Defined in:
lib/nextgen/cli.rb

Instance Method Summary collapse

Methods included from ThorExtensions

extended, start

Instance Method Details

#create(app_path) ⇒ Object



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

def create(app_path)
  Commands::Create.run(app_path, options)
end

#versionObject



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

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