Summary
Contains settings used by
NpmViewVersionTool
.
- Namespace
- Cake
.Npm .ViewVersion - Base Types
-
- object
- NpmSettings
graph BT
Type-->Base0["NpmSettings"]
click Base0 "/Cake.Npm/api/Cake.Npm/NpmSettings"
Base0-->Base1["object"]
Type["NpmViewVersionSettings"]
class Type type-node
Syntax
public class NpmViewVersionSettings : NpmSettings
Constructors
Name | Summary |
---|---|
Npm |
Initializes a new instance of the NpmViewVersionSettings class.
|
Properties
Name | Value | Summary |
---|---|---|
Package | string |
Gets or sets the package to view the version of.
|
Methods
Name | Value | Summary |
---|---|---|
EvaluateCore |
void |
Evaluates the settings and writes them to args.
|
Extension Methods
Name | Value | Summary |
---|---|---|
ForPackage |
Npm |
Sets the package to view the version of.
exists on disk.
|
FromPath |
NpmSettings |
Sets the working directory which should be used to run the npm command.
|
Set |
NpmSettings |
Sets the StandardError-Action
|
Set |
NpmSettings |
Sets the StandardOutput-Action
|
WithLogLevel |
NpmSettings |
Sets the log level which should be used to run the npm command.
|