Sha256: 3c9e50c2d27fbc6598a927a503a1b1eaa1c5b12c1ae81b4f9483050de31ee892

Contents?: true

Size: 721 Bytes

Versions: 5

Compression:

Stored size: 721 Bytes

Contents

# frozen_string_literal: true

module Hanami
  module CLI
    module Commands
      module App
        # The `install` command exists to provide third parties a hook for their own installation
        # behaviour to be run as part of `hanami new`.
        #
        # Third parties should register their install commands like so:
        #
        # ```
        # if Hanami::CLI.within_hanami_app?
        #   Hanami::CLI.after "install", MyHanamiGem::CLI::Commands::Install
        # end
        # ````
        #
        # @since 2.0.0
        # @api private
        class Install < Command
          desc "Install Hanami third-party plugins"

          def call(*)
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hanami-cli-2.1.0.beta1 lib/hanami/cli/commands/app/install.rb
hanami-cli-2.0.3 lib/hanami/cli/commands/app/install.rb
hanami-cli-2.0.2 lib/hanami/cli/commands/app/install.rb
hanami-cli-2.0.1 lib/hanami/cli/commands/app/install.rb
hanami-cli-2.0.0 lib/hanami/cli/commands/app/install.rb