Sha256: 24b1ca4532f2b531e27bce3e4cbfe16eb08525653d741dbadea26252c6da07c4

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

# frozen_string_literal: true

require "sod"

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

        description "Add Reek gem."

        on "--[no-]reek"

        default { Container[:configuration].build_reek }

        def call(value = default) = input.build_reek = 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/reek.rb