lib/pragmater/cli/commands/remove.rb in pragmater-14.6.0 vs lib/pragmater/cli/commands/remove.rb in pragmater-15.0.0

- old
+ new

@@ -5,11 +5,11 @@ module Pragmater module CLI module Commands # Removes pragmas. class Remove < Sod::Command - include Import[:input, :kernel] + include Import[:settings, :io] handle "remove" description "Remove pragma comments." @@ -20,10 +20,10 @@ def initialize(handler: Remover.new, **) super(**) @handler = handler end - def call = handler.call(input) { |path| kernel.puts path } + def call = handler.call { |path| io.puts path } private attr_reader :handler end