NpmViewVersionSettings Class

Summary

Contains settings used by NpmViewVersionTool.
Namespace
Cake.Npm.ViewVersion
Base Types
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
NpmViewVersionSettings() 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(ProcessArgumentBuilder) void
Evaluates the settings and writes them to args.

Extension Methods

Name Value Summary
ForPackage(string) NpmViewVersionSettings
Sets the package to view the version of. exists on disk.
FromPath(DirectoryPath) NpmSettings
Sets the working directory which should be used to run the npm command.
SetRedirectedStandardErrorHandler(Action<string>) NpmSettings
Sets the StandardError-Action
SetRedirectedStandardOutputHandler(Action<string>) NpmSettings
Sets the StandardOutput-Action
WithLogLevel(NpmLogLevel) NpmSettings
Sets the log level which should be used to run the npm command.
GitHub
Discussion