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