ZipAliases.

Unzip(ICakeContext, FilePath, DirectoryPath) Method

Summary

Unzips the specified file.
Namespace
Cake.Common.IO
Containing Type
ZipAliases

Syntax

[CakeMethodAlias]
public static void Unzip(this ICakeContext context, FilePath zipFile, DirectoryPath outputPath)

Examples

Unzip("Cake.zip", "./cake");

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
zipFile FilePath Zip file to unzip.
outputPath DirectoryPath Output path to unzip into.

Return Value

Type Description
void