Sha256: 5b272202a1b9aa2eddcad967d29a9d00fa6e4ada6d0a2550c836e39730c02aef
Contents?: true
Size: 487 Bytes
Versions: 2
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true require "refinements/structs" require "sod" module Rubysmith module CLI module Actions # Stores Caliber flag. class Caliber < Sod::Action include Import[:input] using ::Refinements::Structs description "Add Caliber gem." on "--[no-]caliber" default { Container[:configuration].build_caliber } def call(value = default) = input.merge!(build_caliber: value) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-5.1.0 | lib/rubysmith/cli/actions/caliber.rb |
rubysmith-5.0.1 | lib/rubysmith/cli/actions/caliber.rb |