Sha256: 403ad0986fedb4748afa15a2124b1326110f15953c66401c3fa0a80d0dc80478
Contents?: true
Size: 638 Bytes
Versions: 5
Compression:
Stored size: 638 Bytes
Contents
# frozen_string_literal: true require "pathname" require "refinements/struct" require "sod" module Tocer module CLI module Commands # Stores table of contents root path. class Upsert < Sod::Command include Import[:input, :kernel] handle "upsert" description "Update/insert table of contents." on Actions::Root on Actions::Label on Actions::Pattern def initialize(runner: Runner.new, **) super(**) @runner = runner end def call = runner.call input private attr_reader :runner end end end end
Version data entries
5 entries across 5 versions & 1 rubygems