# frozen_string_literal: true module Wayfarer module CLI class Base < Thor include Thor::Actions def self.source_root File.expand_path("templates", __dir__) end private def mock_redis Wayfarer.config.redis.factory = ->(_) { MockRedis.new } end def load_environment Wayfarer::CLI::Runner.loader.setup end def free_agent_pool Wayfarer::Networking::Pool.instance.free end end end end