Sha256: 2b18476aaf7e4f8c351124e30b57ed525d0007bbe3499613ae468f820892fcdb
Contents?: true
Size: 639 Bytes
Versions: 6
Compression:
Stored size: 639 Bytes
Contents
# frozen_string_literal: true require "pathname" require "refinements/structs" 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
6 entries across 6 versions & 1 rubygems