TarAliases.

Untar(ICakeContext, IEnumerable<string>, DirectoryPath) Method

Summary

Extracts the specified tar archives.
Namespace
Cake.Common.IO
Containing Type
TarAliases

Syntax

[CakeMethodAlias]
public static void Untar(this ICakeContext context, IEnumerable<string> archiveFiles, DirectoryPath outputPath)

Examples

Untar(new[] { "a.tar", "b.tar.gz" }, "./dependencies");

Attributes

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

Parameters

Name Type Description
context ICakeContext The context.
archiveFiles IEnumerable<string> The archive files to extract.
outputPath DirectoryPath The output path to extract into.

Return Value

Type Description
void