Summary
Gets the tool locator.
- Namespace
- Cake
.Core - Containing Type
- CakeContext
Syntax
public IToolLocator Tools { get; }
Examples
Task("Resolve-Git")
.Does(context =>
{
context.Tools.RegisterFile("./tools/git.exe");
var git = context.Tools.Resolve("git");
Information("Git: {0}", git);
});
Value
| Type | Description |
|---|---|
| IToolLocator | The tool locator. |
