Sha256: a90d0518004bdfc905e6399132e60eaa1db16471c5342f3b03e61a266c8dc7e4
Contents?: true
Size: 482 Bytes
Versions: 1
Compression:
Stored size: 482 Bytes
Contents
# frozen_string_literal: true require "refinements/structs" require "sod" module Tocer module CLI module Actions # Stores table of contents label. class Label < Sod::Action include Import[:inputs] using Refinements::Structs description "Set label." on %w[-l --label], argument: "[TEXT]" default { Container[:configuration].label } def call(label = default) = inputs.merge!(label:) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tocer-16.0.0 | lib/tocer/cli/actions/label.rb |