Cake add-on trying to make it easier to handle various inputs from arguments and environment variable.
#addin nuget:?package=Cake.ArgumentHelpers&version=1.0.0
dotnet add package Cake.ArgumentHelpers --version 1.0.0
<PackageReference Include="Cake.ArgumentHelpers" Version="1.0.0" />
Aliases
Contains Aliases for helping work with combinations of Argument and Environment variables.
Argument or environment variable
Argument |
Get a bool variable from various script inputs: first via Argument, then falling back on EnvironmentVariable, finally falling back on a default. |
Argument |
Get a bool variable from various script inputs: first via Argument, then falling back on EnvironmentVariable, finally falling back on a default. |
Argument |
Get a string variable from various script inputs: first via Argument, then falling back on EnvironmentVariable, finally falling back on a default. |
Argument |
Get a string variable from various script inputs: first via Argument, then falling back on EnvironmentVariable, finally falling back on a default. |