Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

ChocoPushParams

The choco push parameter type.

Record Fields

Record FieldDescription
AdditionalArgs
Signature: string

A character string containing additional arguments to give to choco.

ApiKey
Signature: string

The api key for the source. If not specified (and not local file source), does a lookup. If not specified and one is not found for an https source, push will fail. Equivalent to the --apikey <apikey> option.

Force
Signature: bool

Force - force the behavior. Do not use force during normal operation - it subverts some of the smart behavior for commands. Maybe used for pushing packages ot insecure private feeds. Default false. Equivalent to the --force option.

NonInteractive
Signature: bool

Do not prompt for user input or confirmations. Default true. Equivalent to the -y option.

Source
Signature: string

The source we are pushing the package to. Default: "https://chocolatey.org/" Equivalent to the --source <source> option.

Timeout
Signature: TimeSpan

The choco execution timeout.

ToolPath
Signature: string

The location of the choco executable. Automatically found if null or empty.