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