Sha256: 79b530e1c72037b8afc2cf50f6292d9f5b464851f9e429a1069a92ce12b0ae06
Contents?: true
Size: 455 Bytes
Versions: 6
Compression:
Stored size: 455 Bytes
Contents
# frozen_string_literal: true require "sod" module Tocer module CLI module Actions # Stores table of contents file patterns. class Pattern < Sod::Action include Import[:settings] description "Set file patterns." on %w[-p --patterns], argument: "[a,b,c]" default { Container[:settings].patterns } def call(patterns = default) = settings.patterns = Array(patterns) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems