ArgumentOrEnvironmentVariableAlias Class

Summary

Contains Aliases for helping work with combinations of Argument and Environment variables.
Assembly
Cake.ArgumentHelpers.dll
Namespace
Cake.ArgumentHelpers
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ArgumentOrEnvironmentVariableAlias"] class Type type-node

Syntax

public static class ArgumentOrEnvironmentVariableAlias

Attributes

Type Description
CakeAliasCategoryAttribute
CakeAliasCategoryAttribute

Methods

Name Value Summary
ArgumentOrEnvironmentVariable(ICakeContext, string, bool) bool
Get a bool variable from various script inputs: first via Argument, then falling back on EnvironmentVariable, finally falling back on a default.
static
ArgumentOrEnvironmentVariable(ICakeContext, string, string, bool) bool
Get a bool variable from various script inputs: first via Argument, then falling back on EnvironmentVariable, finally falling back on a default.
static
ArgumentOrEnvironmentVariable(ICakeContext, string, string, string) string
Get a string variable from various script inputs: first via Argument, then falling back on EnvironmentVariable, finally falling back on a default.
static
ArgumentOrEnvironmentVariable(ICakeContext, string, string) string
Get a string variable from various script inputs: first via Argument, then falling back on EnvironmentVariable, finally falling back on a default.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin