Cake.DoInDirectory

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

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

dotnet add package Cake.DoInDirectory --version 6.0.0

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

Aliases

Contains functionality for changing the current directory for an operation

General

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