Sha256: 90f478d1ada76e63eddae6105d21c765d20eac338a01bfb317da6676afcd25f9

Contents?: true

Size: 380 Bytes

Versions: 7

Compression:

Stored size: 380 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 "controller [NAME]", "Destroys a controller".colorize(:grey)
    def controller(name = nil)
      delete_mvc(:controller, 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-controller.rb
eucalypt-0.2.1 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-controller.rb
eucalypt-0.2.0 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-controller.rb
eucalypt-0.1.3 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-controller.rb
eucalypt-0.1.2 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-controller.rb
eucalypt-0.1.1 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-controller.rb
eucalypt-0.1.0 lib/eucalypt/eucalypt-destroy/namespaces/destroy/cli/destroy-controller.rb