LibManRestoreAliases.

LibManRestore(ICakeContext, LibManRestoreSettings) Method

Summary

Restores client side libraries using the specified settings.
Assembly
Cake.LibMan.dll
Namespace
Cake.LibMan
Containing Type
LibManRestoreAliases

Syntax

public static void LibManRestore(this ICakeContext context, LibManRestoreSettings settings)

Examples

Restores client side libraries in a specific working directory ('libman restore')

var settings = new LibManRestoreSettings
       {
           WorkingDirectory = @"c:\myproject",
           Verbosity = LibManVerbosity.Detailed
       };
    LibManRestore(settings);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings LibManRestoreSettings The settings.

Return Value

Type Description
void