Sha256: 4bc0ccf4d19eb48b7124a6f8310f66384c91ce41a1213b19854a29f8a75767b2

Contents?: true

Size: 329 Bytes

Versions: 24

Compression:

Stored size: 329 Bytes

Contents

require 'thor'

module Keppler
  class Delete < Thor

    desc 'module', 'Delete a keppler module'
    def module(*params)
      rocket_name = params[0]
      module_name = params[1]
      fields = params[1..params.length].join(" ")
      system("rails g keppler_delete_module #{rocket_name} #{module_name} -y")
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
keppler-2.1.2 lib/keppler/delete.rb
keppler-2.1.1 lib/keppler/delete.rb
keppler-2.1.pre.p1 lib/keppler/delete.rb
keppler-2.1 lib/keppler/delete.rb