Sha256: da2f91e91eb5de8dbea9c8b51912bb63eaab4022024ad12423b7bd3b0763d04b

Contents?: true

Size: 360 Bytes

Versions: 7

Compression:

Stored size: 360 Bytes

Contents

require 'eucalypt/eucalypt-destroy/helpers'
require 'eucalypt/helpers'

module Eucalypt
  class Destroy < Thor
    include Thor::Actions
    include Eucalypt::Helpers
    include Eucalypt::Destroy::Helpers
    using Colorize

    desc "model [NAME]", "Destroys a model".colorize(:grey)
    def model(name = nil)
      delete_mvc(:model, name)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
eucalypt-0.2.2 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-model.rb
eucalypt-0.2.1 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-model.rb
eucalypt-0.2.0 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-model.rb
eucalypt-0.1.3 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-model.rb
eucalypt-0.1.2 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-model.rb
eucalypt-0.1.1 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-model.rb
eucalypt-0.1.0 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-model.rb