PnpmExecSettings Class

Summary

Contains settings used by PnpmExec.
Assembly
Cake.Pnpm.dll
Namespace
Cake.Pnpm.Exec
Base Types
graph BT Type-->Base0["PnpmSettings"] click Base0 "/api/Cake.Pnpm/PnpmSettings" Base0-->Base1["ToolSettings"] Type["PnpmExecSettings"] class Type type-node

Syntax

public class PnpmExecSettings : PnpmSettings

Constructors

Name Summary
PnpmExecSettings() Initializes a new instance of the PnpmExecSettings class.

Properties

Name Value Summary
CakeVerbosityLevel Nullable<Verbosity>
Gets or sets the Log level set by Cake.
Inherited from PnpmSettings
Command string
Command to run
Parallel bool
Completely disregard concurrency and topological sorting, running a given script immediately in all matching packages with prefixed streaming output. This is the preferred flag for long-running processes such as watch run over many packages.
PnpmLogLevel PnpmLogLevel
What level of logs to report. Any logs at or higher than the given level will be shown. Levels (lowest to highest): debug, info, warn, error.
Inherited from PnpmSettings
Recursive bool
Run the shell command in every package found in subdirectories or every workspace package, when executed inside a workspace. For options that may be used with `-r`, see "pnpm help recursive"
RedirectStandardError bool
Gets or sets the process option to redirect standard error output.
Inherited from PnpmSettings
RedirectStandardOutput bool
Gets or sets the process option to redirect standard output.
Inherited from PnpmSettings
ShellMode bool
If exist, runs file inside of a shell. Uses /bin/sh on UNIX and `cmd.exe` on Windows. The shell should understand the -c switch on UNIX or /d /s /c on Windows.
StandardErrorAction Action<string>
Gets or sets an action to retrieve and process standard error output.
Inherited from PnpmSettings
StandardOutputAction Action<string>
Gets or sets an action to retrieve and process standard output.
Inherited from PnpmSettings

Methods

Name Value Summary
EvaluateCore(ProcessArgumentBuilder) void
Evaluates the settings and writes them to args.

Extension Methods

Name Value Summary
Dump<PnpmExecSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<PnpmExecSettings>(PnpmExecSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<PnpmExecSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<PnpmExecSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<PnpmExecSettings>(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<PnpmExecSettings>(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
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin