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
execute 'yarn cache' with arguments
- Assembly
- Cake
.Yarn .dll - Namespace
- Cake
.Yarn - Containing Type
- YarnRunner
Syntax
public IYarnRunnerCommands Cache(string subCommand, Action<YarnCacheSettings> configure = null)
Examples
Run 'yarn cache clean'
Task("Yarn-Clean")
.Does(() =>
{
Yarn.Cache("clean");
});
Parameters
Name | Type | Description |
---|---|---|
subCommand | string | subcommand of cache to run |
configure | Action |
Return Value
Type | Description |
---|---|
IYarnRunnerCommands |