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