CurlAliases Class

Summary

Contains aliases related to curl.

In order to use the commands for this add-in, a version of curl will need to be installed on the machine where the Cake script is being executed. While curl is usually included in most Unix-based operating systems, you will likely have to install it yourself on Windows. The Windows version of curl is also part of Cygwin.

#addin Cake.Curl
Assembly
Cake.Curl.dll
Namespace
Cake.Curl
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CurlAliases"] class Type type-node

Syntax

public static class CurlAliases

Attributes

Type Description
CakeAliasCategoryAttribute
ExcludeFromCodeCoverageAttribute

Methods

Name Value Summary
CurlDownloadFile(ICakeContext, Uri, CurlDownloadSettings) void
Downloads the file from the specified remote URL.
static
CurlDownloadFile(ICakeContext, Uri) void
Downloads the file from the specified remote URL to the working directory.
static
CurlDownloadFiles(ICakeContext, IEnumerable<Uri>, CurlDownloadSettings) void
Downloads the files from the specified remote URLs.
static
CurlDownloadFiles(ICakeContext, IEnumerable<Uri>) void
Downloads the files from the specified remote URLs to the working directory.
static
CurlUploadFile(ICakeContext, FilePath, Uri, CurlSettings) void
Uploads the specified file to a remote host using the specified URL.
static
CurlUploadFile(ICakeContext, FilePath, Uri) void
Uploads the specified file to a remote host using the specified URL.
static

Extension Methods

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