This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Bower.
Summary
Bower runner settings
- Assembly
- Cake
.Bower .dll - Namespace
- Cake
.Bower - Base Types
-
- ToolSettings
- Derived Types
graph BT
Type-->Base0["ToolSettings"]
Type["BowerRunnerSettings"]
class Type type-node
Derived0["BowerListSettings"]-->Type
click Derived0 "/api/Cake.Bower/BowerListSettings"
Derived1["BowerInstallSettings"]-->Type
click Derived1 "/api/Cake.Bower/BowerInstallSettings"
Derived2["BowerLinkSettings"]-->Type
click Derived2 "/api/Cake.Bower/BowerLinkSettings"
Derived3["BowerPruneSettings"]-->Type
click Derived3 "/api/Cake.Bower/BowerPruneSettings"
Derived4["BowerHelpSettings"]-->Type
click Derived4 "/api/Cake.Bower/BowerHelpSettings"
Derived5["BowerInfoSettings"]-->Type
click Derived5 "/api/Cake.Bower/BowerInfoSettings"
Derived6["BowerCacheSettings"]-->Type
click Derived6 "/api/Cake.Bower/BowerCacheSettings"
Derived7["BowerHomeSettings"]-->Type
click Derived7 "/api/Cake.Bower/BowerHomeSettings"
Derived8["BowerLoginSettings"]-->Type
click Derived8 "/api/Cake.Bower/BowerLoginSettings"
Syntax
public abstract class BowerRunnerSettings : ToolSettings
Constructors
| Name | Summary |
|---|---|
| BowerRunnerSettings |
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 |
void |
Evaluate options
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
| UseWorkingDirectory |
T |
Set the working directory for the bower runner settings
Requires the Cake.Bower addin
|
| WithAllowRoot |
T |
Add --allow-root
Requires the Cake.Bower addin
|
| WithForce |
T |
Add --force to the bower command
Requires the Cake.Bower addin
|
| WithJson |
T |
Add --json
Requires the Cake.Bower addin
|
| WithLogLevel |
T |
Sets the log level e.g. --loglevel=warn
Requires the Cake.Bower addin
|
| WithOffline |
T |
Add --offline
Requires the Cake.Bower addin
|
| WithQuiet |
T |
Add --quiet
Requires the Cake.Bower addin
|
| WithSilent |
T |
Add --silent
Requires the Cake.Bower addin
|
| WithVerbose |
T |
Add --verbose
Requires the Cake.Bower addin
|
