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