PnpmSettings Class

Summary

Pnpm tool settings.
graph BT Type-->Base0["ToolSettings"] Type["PnpmSettings"] class Type type-node Derived0["PnpmUnlinkSettings"]-->Type click Derived0 "/api/Cake.Pnpm.Unlink/PnpmUnlinkSettings" Derived1["PnpmListSettings"]-->Type click Derived1 "/api/Cake.Pnpm.List/PnpmListSettings" Derived2["PnpmLinkSettings"]-->Type click Derived2 "/api/Cake.Pnpm.Link/PnpmLinkSettings" Derived3["PnpmUpdateSettings"]-->Type click Derived3 "/api/Cake.Pnpm.Update/PnpmUpdateSettings" Derived4["PnpmInstallSettings"]-->Type click Derived4 "/api/Cake.Pnpm.Install/PnpmInstallSettings" Derived5["PnpmLicensesSettings"]-->Type click Derived5 "/api/Cake.Pnpm.Licenses/PnpmLicensesSettings" Derived6["PnpmStoreSettings"]-->Type click Derived6 "/api/Cake.Pnpm.Store/PnpmStoreSettings" Derived7["PnpmOutdatedSettings"]-->Type click Derived7 "/api/Cake.Pnpm.Outdated/PnpmOutdatedSettings" Derived8["PnpmRebuildSettings"]-->Type click Derived8 "/api/Cake.Pnpm.Rebuild/PnpmRebuildSettings" Derived9["PnpmExecSettings"]-->Type click Derived9 "/api/Cake.Pnpm.Exec/PnpmExecSettings" Derived10["PnpmRunSettings"]-->Type click Derived10 "/api/Cake.Pnpm.Run/PnpmRunSettings" Derived11["PnpmPruneSettings"]-->Type click Derived11 "/api/Cake.Pnpm.Prune/PnpmPruneSettings" Derived12["PnpmRemoveSettings"]-->Type click Derived12 "/api/Cake.Pnpm.Remove/PnpmRemoveSettings" Derived13["PnpmAuditSettings"]-->Type click Derived13 "/api/Cake.Pnpm.Audit/PnpmAuditSettings" Derived14["PnpmImportSettings"]-->Type click Derived14 "/api/Cake.Pnpm.Import/PnpmImportSettings" Derived15["PnpmAddSettings"]-->Type click Derived15 "/api/Cake.Pnpm.Add/PnpmAddSettings"

Syntax

public abstract class PnpmSettings : ToolSettings

Constructors

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

Properties

Name Value Summary
CakeVerbosityLevel Nullable<Verbosity>
Gets or sets the Log level set by Cake.
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.
RedirectStandardError bool
Gets or sets the process option to redirect standard error output.
RedirectStandardOutput bool
Gets or sets the process option to redirect standard output.
StandardErrorAction Action<string>
Gets or sets an action to retrieve and process standard error output.
StandardOutputAction Action<string>
Gets or sets an action to retrieve and process standard output.

Methods

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

Extension Methods

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