Sha256: 85d2bdf1ec93abcd5966ee3e3283acc0ec636d7085a81463a7f55649e282dbd4

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

# frozen_string_literal: true

require "sod"

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

        description "Add Caliber gem."

        on "--[no-]caliber"

        default { Container[:configuration].build_caliber }

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