Sha256: b9ee810c816ba5877a4d2de4e18705f7a84ff62ed23a9d237aabff3a18ad2fc7

Contents?: true

Size: 313 Bytes

Versions: 4

Compression:

Stored size: 313 Bytes

Contents

module Potassium::CLI
  command :create do |c|
    c.action do |global_options, options, args|
      template_finder = Potassium::TemplateFinder.new
      template = template_finder.default_template
      template.source_paths << Rails::Generators::AppGenerator.source_root
      template.start
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
potassium-1.2.0 lib/potassium/cli/commands/create.rb
potassium-1.1.0 lib/potassium/cli/commands/create.rb
potassium-1.0.1 lib/potassium/cli/commands/create.rb
potassium-1.0.0 lib/potassium/cli/commands/create.rb