Sha256: ca1c838f2509cebce5c70b78682eb46c72b428d0272c65837690322502ef3b0f
Contents?: true
Size: 653 Bytes
Versions: 5
Compression:
Stored size: 653 Bytes
Contents
require_relative './extension' module Geri module CLI class Base < Thor include Thor::Actions include Rails::Generators::Actions desc 'new NAME', 'Generate new Geri based Rails application' def new(name) basepath = File.expand_path('../../../../', __FILE__) Rails::Generators::AppGenerator.start [name, '-m', "#{basepath}/template.rb" ] end desc 'extension COMMAND', 'Controls Geri extensions' subcommand 'extension', Extension end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
geri-0.1.4 | lib/geri/cli/base.rb |
geri-0.1.3 | lib/geri/cli/base.rb |
geri-0.1.1 | lib/geri/cli/base.rb |
geri-0.1.0 | lib/geri/cli/base.rb |
geri-0.0.1 | lib/geri/cli/base.rb |