IYarnRunnerCommands Interface

Summary

Yarn Runner command interface
Assembly
Cake.Yarn.dll
Namespace
Cake.Yarn
Implementing Types
graph BT Type["IYarnRunnerCommands"] class Type type-node Implementing0["YarnRunner"]-.->Type click Implementing0 "/api/Cake.Yarn/YarnRunner"

Syntax

public interface IYarnRunnerCommands

Methods

Name Value Summary
Add(Action<YarnAddSettings>) IYarnRunnerCommands
execute 'yarn add' with options
Audit(Action<YarnAuditSettings>) IYarnRunnerCommands
execute 'yarn audit' with options
Install(Action<YarnInstallSettings>) IYarnRunnerCommands
execute 'yarn install' with options
Pack(Action<YarnPackSettings>) IYarnRunnerCommands
execute 'yarn pack' with options
RunScript(string, Action<YarnRunSettings>) IYarnRunnerCommands
execute 'yarn run' with arguments
Version(Action<YarnVersionSettings>) IYarnRunnerCommands
execute 'yarn version' with options

Extension Methods

Name Value Summary
Dump<IYarnRunnerCommands>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<IYarnRunnerCommands>(IYarnRunnerCommands[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<IYarnRunnerCommands>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<IYarnRunnerCommands>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<IYarnRunnerCommands>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<IYarnRunnerCommands>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin