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 run 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["YarnRunSettings"]
class Type type-node
Syntax
public class YarnRunSettings : YarnRunnerSettings
Constructors
Name | Summary |
---|---|
YarnRunSettings |
yarn 'run' settings |
YarnRunSettings |
yarn 'run' settings for the named script |
Properties
Name | Value | Summary |
---|---|---|
Arguments | IList |
Arguments to pass to the target script
|
Command | string |
The command being ran
Inherited from YarnRunnerSettings
|
ScriptName | string |
Name of the script to execute as defined in package.json
|
Silent | bool |
Skip Yarn console logs, other types of logs (script output) will be printed
|
Methods
Name | Value | Summary |
---|---|---|
EvaluateCore |
void |
Evaluate options
|
WithArgument |
YarnRunSettings |
Add an argument
|
WithSilent |
YarnRunSettings |
Sets Silent property to true
|
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
|