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.Npm.
Summary
Runs an npm exec command.
Syntax
public static void NpmExec(this ICakeContext context, string command, IEnumerable<string> arguments)
Examples
NpmExec("hello", new List<string> { "--foo=bar" });
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
command |
string |
Command to execute. |
arguments |
IEnumerable<string> |
Arguments to pass to the target command. |
Return Value