BowerRunnerSettings Class

Summary

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

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
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
ToStringWithNullMarkup() string
Requires the Cake.Issues 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