Cake.DoInDirectory

Cake Addin to allow the temporary change of the working directory.

#addin nuget:?package=Cake.DoInDirectory&version=3.3.0

<package id="Cake.DoInDirectory" version="3.3.0" />

dotnet add package Cake.DoInDirectory --version 3.3.0

<PackageReference Include="Cake.DoInDirectory" Version="3.3.0" />

Aliases

Contains functionality for changing the current directory for an operation

General

DoInDirectory(ICakeContext, DirectoryPath, Action) Changes the current working directory before an System.Action and returns to the previous one in the end