Sha256: 71bd3374b9d4c311061e93ce5bbb0eb5f8691d9fd3567626d9b828ac1c330d0d

Contents?: true

Size: 393 Bytes

Versions: 8

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

require "dry/container"

module Pragmater
  module CLI
    module Actions
      # Provides a single container with application and action specific dependencies.
      module Container
        extend Dry::Container::Mixin

        merge Pragmater::Container

        register(:config) { Config.new }
        register(:run) { Run.new }
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pragmater-12.2.0 lib/pragmater/cli/actions/container.rb
pragmater-12.1.2 lib/pragmater/cli/actions/container.rb
pragmater-12.1.1 lib/pragmater/cli/actions/container.rb
pragmater-12.1.0 lib/pragmater/cli/actions/container.rb
pragmater-12.0.0 lib/pragmater/cli/actions/container.rb
pragmater-11.5.0 lib/pragmater/cli/actions/container.rb
pragmater-11.4.0 lib/pragmater/cli/actions/container.rb
pragmater-11.3.0 lib/pragmater/cli/actions/container.rb