lib/fakerbot/commands/search.rb in fakerbot-0.3.0 vs lib/fakerbot/commands/search.rb in fakerbot-0.4.0

- old
+ new

@@ -1,18 +1,17 @@ # frozen_string_literal: true -require 'fakerbot/bot' require_relative '../command' module FakerBot module Commands class Search < FakerBot::Command def initialize(options) @options = options end def execute(input, output: $stdout) - render FakerBot::Bot.find(input), output + render FakerBot::Reflector.find(input), output end private def render(result, output)