Sha256: 5de9e7f30ca85af63924c864d66c699995cd2cf26c68abc9e5384348c6e9f92c

Contents?: true

Size: 444 Bytes

Versions: 9

Compression:

Stored size: 444 Bytes

Contents

# frozen_string_literal: true

require "dry/container"

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

        merge Milestoner::Container

        register(:config) { Config.new }
        register(:publish) { Publish.new }
        register(:status) { Status.new }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
milestoner-15.3.0 lib/milestoner/cli/actions/container.rb
milestoner-15.2.2 lib/milestoner/cli/actions/container.rb
milestoner-15.2.1 lib/milestoner/cli/actions/container.rb
milestoner-15.2.0 lib/milestoner/cli/actions/container.rb
milestoner-15.1.0 lib/milestoner/cli/actions/container.rb
milestoner-15.0.0 lib/milestoner/cli/actions/container.rb
milestoner-14.5.0 lib/milestoner/cli/actions/container.rb
milestoner-14.4.0 lib/milestoner/cli/actions/container.rb
milestoner-14.3.0 lib/milestoner/cli/actions/container.rb