BowerRunner Class

Summary

A wrapper around the Bower package manager
Assembly
Cake.Bower.dll
Namespace
Cake.Bower
Interfaces
Base Types
graph BT Type-->Base0["Tool<BowerRunnerSettings>"] Type-.->Interface0["IBowerRunnerCommands"] click Interface0 "/api/Cake.Bower/IBowerRunnerCommands" Type["BowerRunner"] class Type type-node

Syntax

public class BowerRunner : Tool<BowerRunnerSettings>, IBowerRunnerCommands

Constructors

Name Summary
BowerRunner(IFileSystem, ICakeEnvironment, IProcessRunner, IToolLocator) Initializes a new instance of the BowerRunner class.

Methods

Name Value Summary
Cache(Action<BowerCacheSettings>) IBowerRunnerCommands
execute 'bower cache' for a particular package
Cache(BowerCacheSettings) IBowerRunnerCommands
execute 'bower cache' for a particular package
GetToolExecutableNames() IEnumerable<string>
Gets the name of the tool executable
GetToolName() string
Gets the name of the tool
Help(string) IBowerRunnerCommands
execute 'bower help' for a particular package
Home(string) IBowerRunnerCommands
execute 'bower home' for a particular package
Info(Action<BowerInfoSettings>) IBowerRunnerCommands
execute 'bower info' for a particular package
Info(BowerInfoSettings) IBowerRunnerCommands
execute 'bower info' for a particular package
Info(string, string) IBowerRunnerCommands
execute 'bower info' for a particular package
Install(Action<BowerInstallSettings>) IBowerRunnerCommands
execute 'bower install' with options
Install(BowerInstallSettings) IBowerRunnerCommands
execute 'bower install' with options
Install(string, Action<BowerInstallSettings>) IBowerRunnerCommands
execute 'bower install' for a particular package
Install(string, BowerInstallSettings) IBowerRunnerCommands
execute 'bower install' for a particular package
Link(Action<BowerLinkSettings>) IBowerRunnerCommands
execute 'bower link'
Link(BowerLinkSettings) IBowerRunnerCommands
execute 'bower link'
List(Action<BowerListSettings>) IBowerRunnerCommands
execute 'bower list'
List(BowerListSettings) IBowerRunnerCommands
execute 'bower list'
Login(string) IBowerRunnerCommands
execute 'bower login'
Prune() IBowerRunnerCommands
execute 'bower prune'

Extension Methods

Name Value Summary
Dump<BowerRunner>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<BowerRunner>(BowerRunner[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<BowerRunner>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<BowerRunner>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<BowerRunner>(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<BowerRunner>(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