Summary
Adds Chocolatey package source using the specified settings to global user config.
- Namespace
- Cake
.Common .Tools .Chocolatey .Sources - Containing Type
- ChocolateySources
Syntax
public void AddSource(string name, string source, ChocolateySourcesSettings settings)
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | Name of the source. |
| source | string | Path to the package(s) source. |
| settings | Chocolatey |
The settings. |
Return Value
| Type | Description |
|---|---|
| void |
