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["PnpmAuditSettings"]-->Type click Derived2 "/api/Cake.Pnpm.Audit/PnpmAuditSettings" Derived3["PnpmRebuildSettings"]-->Type click Derived3 "/api/Cake.Pnpm.Rebuild/PnpmRebuildSettings" Derived4["PnpmExecSettings"]-->Type click Derived4 "/api/Cake.Pnpm.Exec/PnpmExecSettings" Derived5["PnpmInstallSettings"]-->Type click Derived5 "/api/Cake.Pnpm.Install/PnpmInstallSettings" Derived6["PnpmRunSettings"]-->Type click Derived6 "/api/Cake.Pnpm.Run/PnpmRunSettings" Derived7["PnpmOutdatedSettings"]-->Type click Derived7 "/api/Cake.Pnpm.Outdated/PnpmOutdatedSettings" Derived8["PnpmLicensesSettings"]-->Type click Derived8 "/api/Cake.Pnpm.Licenses/PnpmLicensesSettings" Derived9["PnpmImportSettings"]-->Type click Derived9 "/api/Cake.Pnpm.Import/PnpmImportSettings" Derived10["PnpmAddSettings"]-->Type click Derived10 "/api/Cake.Pnpm.Add/PnpmAddSettings" Derived11["PnpmStoreSettings"]-->Type click Derived11 "/api/Cake.Pnpm.Store/PnpmStoreSettings" Derived12["PnpmUpdateSettings"]-->Type click Derived12 "/api/Cake.Pnpm.Update/PnpmUpdateSettings" Derived13["PnpmRemoveSettings"]-->Type click Derived13 "/api/Cake.Pnpm.Remove/PnpmRemoveSettings" Derived14["PnpmPruneSettings"]-->Type click Derived14 "/api/Cake.Pnpm.Prune/PnpmPruneSettings" Derived15["PnpmLinkSettings"]-->Type click Derived15 "/api/Cake.Pnpm.Link/PnpmLinkSettings"

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.Issues addin
NotNull<PnpmSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp 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
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin