Sha256: f958742998c914390ea1937ee991bc6ce3d7bff0a7c457e6349c6ee368eacb7b
Contents?: true
Size: 623 Bytes
Versions: 10
Compression:
Stored size: 623 Bytes
Contents
# frozen_string_literal: true require "sod" module Pennyworth module CLI module Actions module System # Handles the system errors action. class Errors < Sod::Action include Import[:kernel] description "Render Alfred system errors script filter." on "--system_errors" def initialize(processor: Processor.for_system_errors, **) super(**) @processor = processor end def call(*) = kernel.puts processor.call.to_json private attr_reader :processor end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems