Sha256: b96efd8745fa6ca9a26e09b7cf05ccb72be3a97d2ff2f6326b55f0a1aa64f70d

Contents?: true

Size: 369 Bytes

Versions: 15

Compression:

Stored size: 369 Bytes

Contents

require "dry/container"

<% namespace do %>
  module CLI
    module Actions
      # Provides a single container of application and action specific dependencies.
      module Container
        extend Dry::Container::Mixin

        merge <%= configuration.project_namespaced_class %>::Container

        register(:config) { Config.new }
      end
    end
  end
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gemsmith-19.8.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-19.7.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-19.6.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-19.5.2 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-19.5.1 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-19.5.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-19.4.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-19.3.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-19.2.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-19.1.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-19.0.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-18.9.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-18.8.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-18.7.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb
gemsmith-18.6.0 lib/gemsmith/templates/%project_name%/lib/%project_path%/cli/actions/container.rb.erb