This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.ArgumentHelpers.
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 |
---|---|
Cake |
|
Cake |
Methods
Name | Value | Summary |
---|---|---|
Argument |
bool |
Get a bool variable from various script inputs: first via Argument, then falling back on EnvironmentVariable, finally falling back on a default.
static
|
Argument |
bool |
Get a bool variable from various script inputs: first via Argument, then falling back on EnvironmentVariable, finally falling back on a default.
static
|
Argument |
string |
Get a string variable from various script inputs: first via Argument, then falling back on EnvironmentVariable, finally falling back on a default.
static
|
Argument |
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 |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|