lib/jets/commands/import.rb in jets-1.0.1 vs lib/jets/commands/import.rb in jets-1.0.2
- old
+ new
@@ -1,11 +1,15 @@
module Jets::Commands
class Import < Jets::Commands::Base
autoload :Base, 'jets/commands/import/base'
+ autoload :Cheatsheet, 'jets/commands/import/cheatsheet'
autoload :Rack, 'jets/commands/import/rack'
autoload :Rail, 'jets/commands/import/rail'
autoload :Sequence, 'jets/commands/import/sequence'
+ Jets::Commands::Import::Base.cli_options.each do |args|
+ class_option(*args)
+ end
long_desc Help.text('import:rails')
register(Jets::Commands::Import::Rail, "rails", "rails", "Imports rails project in the rack subfolder")
long_desc Help.text('import:rack')
register(Jets::Commands::Import::Rack, "rack", "rack", "Imports rack project in the rack subfolder")