BowerHomeSettings Class

Summary

Bower home settings
Assembly
Cake.Bower.dll
Namespace
Cake.Bower
Base Types
graph BT Type-->Base0["BowerRunnerSettings"] click Base0 "/api/Cake.Bower/BowerRunnerSettings" Base0-->Base1["ToolSettings"] Type["BowerHomeSettings"] class Type type-node

Syntax

public class BowerHomeSettings : BowerRunnerSettings

Constructors

Name Summary
BowerHomeSettings() Bower home settings
BowerHomeSettings(string) Bower home settings

Fields

Name Constant Value Summary
Command
The command to run
Inherited from BowerRunnerSettings

Properties

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

Methods

Name Value Summary
EvaluateCore(ProcessArgumentBuilder) void
Evaluate options
ForPackage(string) BowerHomeSettings
Set the package to open the home page of

Extension Methods

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