Sha256: d00ee4e8662b6b4d13c6b54a4b406611ed6c001b9b9c301a9cba0a517ba965a9

Contents?: true

Size: 587 Bytes

Versions: 8

Compression:

Stored size: 587 Bytes

Contents

# frozen_string_literal: true

require "dry/container"

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

        merge SublimeTextKit::Container

        register(:config) { Actions::Config.new }
        register(:metadata) { Actions::Metadata.new }
        register(:session) { Actions::Session.new }
        register(:snippets) { Actions::Snippets.new }
        register(:update) { Actions::Update.new }
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sublime_text_kit-14.2.0 lib/sublime_text_kit/cli/actions/container.rb
sublime_text_kit-14.1.2 lib/sublime_text_kit/cli/actions/container.rb
sublime_text_kit-14.1.1 lib/sublime_text_kit/cli/actions/container.rb
sublime_text_kit-14.1.0 lib/sublime_text_kit/cli/actions/container.rb
sublime_text_kit-14.0.0 lib/sublime_text_kit/cli/actions/container.rb
sublime_text_kit-13.5.0 lib/sublime_text_kit/cli/actions/container.rb
sublime_text_kit-13.4.0 lib/sublime_text_kit/cli/actions/container.rb
sublime_text_kit-13.3.0 lib/sublime_text_kit/cli/actions/container.rb