# 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 end end end