BowerRunnerSettings Class

Summary

Bower runner settings
graph BT Type-->Base0["ToolSettings"] Type["BowerRunnerSettings"] class Type type-node Derived0["BowerPruneSettings"]-->Type click Derived0 "/api/Cake.Bower/BowerPruneSettings" Derived1["BowerHelpSettings"]-->Type click Derived1 "/api/Cake.Bower/BowerHelpSettings" Derived2["BowerLinkSettings"]-->Type click Derived2 "/api/Cake.Bower/BowerLinkSettings" Derived3["BowerInfoSettings"]-->Type click Derived3 "/api/Cake.Bower/BowerInfoSettings" Derived4["BowerCacheSettings"]-->Type click Derived4 "/api/Cake.Bower/BowerCacheSettings" Derived5["BowerListSettings"]-->Type click Derived5 "/api/Cake.Bower/BowerListSettings" Derived6["BowerInstallSettings"]-->Type click Derived6 "/api/Cake.Bower/BowerInstallSettings" Derived7["BowerLoginSettings"]-->Type click Derived7 "/api/Cake.Bower/BowerLoginSettings" Derived8["BowerHomeSettings"]-->Type click Derived8 "/api/Cake.Bower/BowerHomeSettings"

Syntax

public abstract class BowerRunnerSettings : ToolSettings

Constructors

Name Summary
BowerRunnerSettings(string) Bower runner settings

Fields

Name Constant Value Summary
Command
The command to run

Properties

Name Value Summary
AllowRoot bool
Allows running commands as root
Force bool
Makes various commands more forceful
Json bool
Output consumable JSON
LogLevel BowerLogLevel
What level of logs to report
Offline bool
Do not use network connection
Quiet bool
Only output important information. It is an alias for --loglevel=warn
Silent bool
Do not output anything, besides errors. It is an alias for --loglevel=error
Verbose bool
Makes output more verbose. It is an alias for --loglevel=debug

Methods

Name Value Summary
EvaluateCore(ProcessArgumentBuilder) void
Evaluate options

Extension Methods

Name Value Summary
Dump<BowerRunnerSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<BowerRunnerSettings>(BowerRunnerSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<BowerRunnerSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<BowerRunnerSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<BowerRunnerSettings>(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<BowerRunnerSettings>(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
UseWorkingDirectory<BowerRunnerSettings>(DirectoryPath) T
Set the working directory for the bower runner settings
Requires the Cake.Bower addin
WithAllowRoot<BowerRunnerSettings>() T
Add --allow-root
Requires the Cake.Bower addin
WithForce<BowerRunnerSettings>() T
Add --force to the bower command
Requires the Cake.Bower addin
WithJson<BowerRunnerSettings>() T
Add --json
Requires the Cake.Bower addin
WithLogLevel<BowerRunnerSettings>(BowerLogLevel) T
Sets the log level e.g. --loglevel=warn
Requires the Cake.Bower addin
WithOffline<BowerRunnerSettings>() T
Add --offline
Requires the Cake.Bower addin
WithQuiet<BowerRunnerSettings>() T
Add --quiet
Requires the Cake.Bower addin
WithSilent<BowerRunnerSettings>() T
Add --silent
Requires the Cake.Bower addin
WithVerbose<BowerRunnerSettings>() T
Add --verbose
Requires the Cake.Bower addin