# File lib/librarian/rspec/support/cli_macro.rb, line 51
        def self.included(base)
          base.instance_exec do
            let(:project_path) do
              project_path = Pathname.new(__FILE__).expand_path
              project_path = project_path.dirname until project_path.join("Rakefile").exist?
              project_path
            end
            let(:tmp) { project_path.join("tmp/spec/cli") }
            let(:pwd) { tmp + SecureRandom.hex(8) }

            before { tmp.mkpath }
            before { pwd.mkpath }

            after  { tmp.rmtree }
          end
        end