Sha256: aab8bdf3e116f4be6aa78f045ccd0286c374bc964891af7a9aef58a1dd99c06a
Contents?: true
Size: 471 Bytes
Versions: 2
Compression:
Stored size: 471 Bytes
Contents
# frozen_string_literal: true require "refinements/structs" require "sod" module Rubysmith module CLI module Actions # Forces minimum configuration. class Minimum < Sod::Action include Import[:input] using ::Refinements::Structs description "Use minimum options." on "--min" default { Container[:configuration].build_minimum } def call(*) = input.merge!(input.minimize) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-5.1.0 | lib/rubysmith/cli/actions/minimum.rb |
rubysmith-5.0.1 | lib/rubysmith/cli/actions/minimum.rb |