Sha256: 9df92f1470a82af67a0bd94e01f0dc2c201554a937db93dbf9ae07e10b15de1e

Contents?: true

Size: 801 Bytes

Versions: 18

Compression:

Stored size: 801 Bytes

Contents

module Hanami
  # Hanami CLI
  #
  # @since 1.1.0
  class CLI
    module Commands
      # @since 1.1.0
      # @api private
      module Destroy
        require "hanami/cli/commands/destroy/app"
        require "hanami/cli/commands/destroy/action"
        require "hanami/cli/commands/destroy/model"
        require "hanami/cli/commands/destroy/mailer"
        require "hanami/cli/commands/destroy/migration"
      end
    end

    register "destroy", aliases: ["d"] do |prefix|
      prefix.register "app",       Commands::Destroy::App
      prefix.register "action",    Commands::Destroy::Action
      prefix.register "model",     Commands::Destroy::Model
      prefix.register "mailer",    Commands::Destroy::Mailer
      prefix.register "migration", Commands::Destroy::Migration
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
hanami-1.3.5 lib/hanami/cli/commands/destroy.rb
hanami-1.3.4 lib/hanami/cli/commands/destroy.rb
hanami-1.3.3 lib/hanami/cli/commands/destroy.rb
hanami-1.3.2 lib/hanami/cli/commands/destroy.rb
hanami-1.3.1 lib/hanami/cli/commands/destroy.rb
hanami-1.3.0 lib/hanami/cli/commands/destroy.rb
hanami-1.3.0.beta1 lib/hanami/cli/commands/destroy.rb
hanami-1.2.0 lib/hanami/cli/commands/destroy.rb
hanami-1.2.0.rc2 lib/hanami/cli/commands/destroy.rb
hanami-1.2.0.rc1 lib/hanami/cli/commands/destroy.rb
hanami-1.2.0.beta2 lib/hanami/cli/commands/destroy.rb
hanami-1.2.0.beta1 lib/hanami/cli/commands/destroy.rb
hanami-1.1.1 lib/hanami/cli/commands/destroy.rb
hanami-1.1.0 lib/hanami/cli/commands/destroy.rb
hanami-1.1.0.rc1 lib/hanami/cli/commands/destroy.rb
hanami-1.1.0.beta3 lib/hanami/cli/commands/destroy.rb
hanami-1.1.0.beta2 lib/hanami/cli/commands/destroy.rb
hanami-1.1.0.beta1 lib/hanami/cli/commands/destroy.rb