Sha256: 8feeaec3f269737d9868b8d6613f1497feaa36003259c85573f3bb7182a0e3db

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

# frozen_string_literal: true

require "sod"

module Rubysmith
  module CLI
    module Actions
      # Stores security flag.
      class Security < Sod::Action
        include Import[:input]

        description "Add security."

        on "--[no-]security"

        default { Container[:configuration].build_security }

        def call(value = default) = input.build_security = value
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubysmith-5.2.0 lib/rubysmith/cli/actions/security.rb