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