Sha256: c0e15dd11eda3b36a7623679449b5bbf6312139ee992835dbef2ca1b4f1cd4b8

Contents?: true

Size: 371 Bytes

Versions: 22

Compression:

Stored size: 371 Bytes

Contents

require '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

22 entries across 22 versions & 1 rubygems

Version Path
eucalypt-0.3.1 lib/eucalypt/destroy/namespaces/destroy/cli/destroy-controller.rb
eucalypt-0.3.0 lib/eucalypt/destroy/namespaces/destroy/cli/destroy-controller.rb