Cake.Path

A Cake AddIn that extends Cake with the ability to add items to the PATH.

#addin nuget:?package=Cake.Path&version=1.4.0

dotnet add package Cake.Path --version 1.4.0

<PackageReference Include="Cake.Path" Version="1.4.0" />

Aliases

Contains functionality for manipulating the path.

General

AddToPath(DirectoryPath, PathSettings) Adds a value to the path.
AddToPath(DirectoryPath) Adds a value to the path.
GetEnvironmentPath(PathSettings) Gets the environment's path.
GetEnvironmentPath() Gets the environment's path.
ReloadPath() Reloads an in process path.
RemoveFromPath(DirectoryPath, PathSettings) Removes a value from the path.
RemoveFromPath(DirectoryPath) Removes a value from the path.