ToolAliases Class

Summary

Contains functionality for installing NuGet and .NET tools on demand.
Namespace
Cake.Common.Tools
Base Types
  • object
graph BT Type-->Base0["object"] Type["ToolAliases"] class Type type-node

Syntax

[CakeAliasCategory("Tools")]
public static class ToolAliases

Attributes

Type Description
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.

Methods

Name Value Summary
InstallTool(ICakeContext, PackageReference) FilePath[]
Installs a tool using the specified package reference.
static
InstallTool(ICakeContext, string) FilePath[]
Installs a tool using the specified tool string.
static
InstallTools(ICakeContext, PackageReference[]) (PackageReference Tool, FilePath[] Paths)[]
Installs multiple tools using the specified package references.
static
InstallTools(ICakeContext, string[]) (PackageReference Tool, FilePath[] Paths)[]
Installs multiple tools using the specified tool strings.
static
ToolInstaller(ICakeContext) IToolInstaller
Gets the tool installer instance.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin

See Also