Sha256: 13420f201f43736afe3e5bc7d02eda7a751a5e68e00178f573f83bc487795aad
Contents?: true
Size: 467 Bytes
Versions: 3
Compression:
Stored size: 467 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" require "sod" module Rubysmith module CLI module Actions # Forces minimum settings. class Minimum < Sod::Action include Import[:settings] using ::Refinements::Struct description "Use minimum options." on "--min" default { Container[:settings].build_minimum } def call(*) = settings.merge! settings.minimize end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-7.2.0 | lib/rubysmith/cli/actions/minimum.rb |
rubysmith-7.1.0 | lib/rubysmith/cli/actions/minimum.rb |
rubysmith-7.0.0 | lib/rubysmith/cli/actions/minimum.rb |