Sha256: dd84e7e176162b92a019f669161d52fbd4bc68c93bba1f5d71a770789e35f644

Contents?: true

Size: 387 Bytes

Versions: 18

Compression:

Stored size: 387 Bytes

Contents

module Hanami
  class CLI
    module Commands
      # @since 1.1.0
      # @api private
      class Routes < Command
        requires "routes.inspector"

        desc "Prints routes"

        # @since 1.1.0
        # @api private
        def call(*)
          puts requirements['routes.inspector'].inspect
        end
      end
    end

    register "routes", Commands::Routes
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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