Choco Module
Contains tasks which allow to call Chocolatey
Types
Type | Description |
Functions and values
Function or value | Description |
|
|
|
|
|
|
Full Usage:
Choco.IsAvailable
Returns: bool
|
Example
|
Full Usage:
Choco.exec args timeout
Parameters:
string
-
string that will be appended to choco.exe call
timeout : TimeSpan
-
parent process maximum completion time
|
Example
|
Full Usage:
Choco.findExe
Returns: string option
|
Tries to find the specified choco executable:
1. In the
|
Full Usage:
Choco.install setParams packages
Parameters:
ChocoInstallParams -> ChocoInstallParams
-
Function used to manipulate the default choco parameters.
See ChocoInstallParams
packages : string
-
Names of packages, path to packages.config, .nuspec or .nupkg to install
|
Example
|
Full Usage:
Choco.pack setParams
Parameters:
ChocoPackParams -> ChocoPackParams
-
Function used to manipulate the default choco parameters.
See ChocoPackParams
|
Call choco to pack a package and
create
Example
|
Full Usage:
Choco.packFromTemplate setParams nuspecPath
Parameters:
ChocoPackParams -> ChocoPackParams
-
Function used to manipulate the default choco parameters.
See ChocoPackParams
nuspecPath : string
-
path to the .nuspec to pack
|
Example
|
Full Usage:
Choco.push setParams nupkgPath
Parameters:
ChocoPushParams -> ChocoPushParams
-
Function used to manipulate the default choco parameters.
See ChocoPushParams
nupkgPath : string
-
path to the .nupkg to push
|
Example
|