Sha256: ae98c588afb9e89d03de94333cd790d2c21a5e2b3432ae1d99b5f2d7a0ecaaba

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

# frozen_string_literal: true

require "sod"

module Rubysmith
  module CLI
    module Actions
      # Stores Refinements flag.
      class Refinements < Sod::Action
        include Import[:input]

        description "Add Refinements gem."

        on "--[no-]refinements"

        default { Container[:configuration].build_refinements }

        def call(value = default) = input.build_refinements = value
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubysmith-5.2.0 lib/rubysmith/cli/actions/refinements.rb