Sha256: f103c26c5ef2f4d8ca24e441c727c1185a5d1f2f7b49033f4db14271b0aed844
Contents?: true
Size: 504 Bytes
Versions: 2
Compression:
Stored size: 504 Bytes
Contents
# frozen_string_literal: true require "refinements/structs" require "sod" module Rubysmith module CLI module Actions # Stores funding flag. class Funding < Sod::Action include Import[:input] using ::Refinements::Structs description "Add GitHub funding configuration." on "--[no-]funding" default { Container[:configuration].build_funding } def call(value = default) = input.merge!(build_funding: 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/funding.rb |
rubysmith-5.0.1 | lib/rubysmith/cli/actions/funding.rb |