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.Yarn.
Summary
Yarn add options
- Assembly
- Cake
.Yarn .dll - Namespace
- Cake
.Yarn - Base Types
-
- ToolSettings
- YarnRunnerSettings
graph BT
Type-->Base0["YarnRunnerSettings"]
click Base0 "/api/Cake.Yarn/YarnRunnerSettings"
Base0-->Base1["ToolSettings"]
Type["YarnAddSettings"]
class Type type-node
Syntax
public class YarnAddSettings : YarnRunnerSettings
Constructors
Name | Summary |
---|---|
YarnAddSettings |
Yarn "add" settings |
Properties
Name | Value | Summary |
---|---|---|
Command | string |
The command being ran
Inherited from YarnRunnerSettings
|
Global | bool |
'global' option
|
Packages | IEnumerable |
List of packages to install
|
Methods
Name | Value | Summary |
---|---|---|
EvaluateCore |
void |
Evaluate options
|
Globally |
YarnAddSettings |
Applies the --global parameter
|
Package |
YarnAddSettings |
install a package by name, with optional version/tag and scope
|
Package |
YarnAddSettings |
Install a package from the given url
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|