Sha256: bdab207d61071948d3c4792ab6a5c59879cfa3213e54b3d4dfe2a76ab92c5da0

Contents?: true

Size: 459 Bytes

Versions: 7

Compression:

Stored size: 459 Bytes

Contents

# frozen_string_literal: true

require "sod"

module Rubysmith
  module CLI
    module Actions
      # Stores Development Container flag.
      class DevContainer < Sod::Action
        include Import[:settings]

        description "Add Development Container support."

        on "--[no-]devcontainer"

        default { Container[:settings].build_devcontainer }

        def call(boolean) = settings.build_devcontainer = boolean
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubysmith-7.9.0 lib/rubysmith/cli/actions/dev_container.rb
rubysmith-7.8.0 lib/rubysmith/cli/actions/dev_container.rb
rubysmith-7.7.0 lib/rubysmith/cli/actions/dev_container.rb
rubysmith-7.6.0 lib/rubysmith/cli/actions/dev_container.rb
rubysmith-7.5.0 lib/rubysmith/cli/actions/dev_container.rb
rubysmith-7.4.0 lib/rubysmith/cli/actions/dev_container.rb
rubysmith-7.3.0 lib/rubysmith/cli/actions/dev_container.rb