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.22 lib/keppler/delete.rb
keppler-2.1.21 lib/keppler/delete.rb
keppler-2.1.20 lib/keppler/delete.rb
keppler-2.1.19 lib/keppler/delete.rb
keppler-2.1.18 lib/keppler/delete.rb
keppler-2.1.17 lib/keppler/delete.rb
keppler-2.1.16 lib/keppler/delete.rb
keppler-2.1.15 lib/keppler/delete.rb
keppler-2.1.14 lib/keppler/delete.rb
keppler-2.1.13 lib/keppler/delete.rb
keppler-2.1.12 lib/keppler/delete.rb
keppler-2.1.11 lib/keppler/delete.rb
keppler-2.1.10 lib/keppler/delete.rb
keppler-2.1.9 lib/keppler/delete.rb
keppler-2.1.8 lib/keppler/delete.rb
keppler-2.1.7 lib/keppler/delete.rb
keppler-2.1.6 lib/keppler/delete.rb
keppler-2.1.5 lib/keppler/delete.rb
keppler-2.1.4 lib/keppler/delete.rb
keppler-2.1.3 lib/keppler/delete.rb