Sha256: 974b79a3fb1f5cb9b720a4ca43cccdf497445b41724ac48887b8aca07b254234

Contents?: true

Size: 416 Bytes

Versions: 2

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true

require "sod"

module Rubysmith
  module CLI
    module Actions
      # Stores Repl Type Completor flag.
      class RTC < Sod::Action
        include Import[:input]

        description "Add Repl Type Completor gem."

        on "--[no-]rtc"

        default { Container[:configuration].build_rtc }

        def call(value = nil) = input.build_rtc = value
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubysmith-6.10.0 lib/rubysmith/cli/actions/rtc.rb
rubysmith-6.9.0 lib/rubysmith/cli/actions/rtc.rb