lib/potassium/cli/commands/create.rb in potassium-1.2.0 vs lib/potassium/cli/commands/create.rb in potassium-1.2.1
- old
+ new
@@ -1,7 +1,10 @@
module Potassium::CLI
command :create do |c|
c.action do |global_options, options, args|
+ require "potassium/templates/application/generator"
+ require "potassium/template_finder"
+
template_finder = Potassium::TemplateFinder.new
template = template_finder.default_template
template.source_paths << Rails::Generators::AppGenerator.source_root
template.start
end