Sha256: d3ce30f0acfb70ec80b3aeb02ef334477da4d1c11d1bdea13a62fd714b81ddb5
Contents?: true
Size: 535 Bytes
Versions: 7
Compression:
Stored size: 535 Bytes
Contents
# frozen_string_literal: true require "dry/container" module Rubysmith module CLI module Actions # Provides a single container with application and action specific dependencies. module Container extend Dry::Container::Mixin config.registry = ->(container, key, value, _options) { container[key.to_s] = value } merge Rubysmith::Container register(:build) { Build.new } register(:config) { Config.new } register(:publish) { Publish.new } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems