Sha256: 23137e9a11dd180649e6983d5dc4a4079eb799f3123c92315bb199eda1da3add
Contents?: true
Size: 419 Bytes
Versions: 2
Compression:
Stored size: 419 Bytes
Contents
# frozen_string_literal: true require "sod" module Rubysmith module CLI module Actions # Stores license flag. class License < Sod::Action include Import[:settings] description "Add license documentation." on "--[no-]license" default { Container[:settings].build_license } def call(value = nil) = settings.build_license = value end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-7.1.0 | lib/rubysmith/cli/actions/license.rb |
rubysmith-7.0.0 | lib/rubysmith/cli/actions/license.rb |