lib/tocer/cli/actions/insert.rb in tocer-15.1.2 vs lib/tocer/cli/actions/insert.rb in tocer-15.2.0

- old
+ new

@@ -3,18 +3,18 @@ module Tocer module CLI module Actions # Handles the insert action. class Insert - include Tocer::Import[:logger] + include Tocer::Import[:kernel] def initialize(runner: Runner.new, **) super(**) @runner = runner end def call configuration - runner.call(configuration) { |path| logger.info { " #{path}" } } + runner.call(configuration).each { |path| kernel.puts " #{path}" } end private attr_reader :runner