Sha256: dbe738f14eb67d65524a4f71072b435a22a178f416c4c580c56df45beb295202
Contents?: true
Size: 639 Bytes
Versions: 6
Compression:
Stored size: 639 Bytes
Contents
# frozen_string_literal: true require "sod" module Pennyworth module CLI module Actions module HTMX # Handles examples documentation action. class Example < Sod::Action include Import[:settings, :io] description "Render Alfred examples script filter." on "--examples" def initialize(processor: Processor.for_htmx, **) @processor = processor super(**) end def call(*) = io.puts processor.call(settings.htmx_examples_uri).to_json private attr_reader :processor end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems