LibManRestoreAliases.

LibManRestore(ICakeContext, Action<LibManRestoreSettings>) Method

Summary

Restores client side libraries using the settings returned by a configurator.
Assembly
Cake.LibMan.dll
Namespace
Cake.LibMan
Containing Type
LibManRestoreAliases

Syntax

public static void LibManRestore(this ICakeContext context, Action<LibManRestoreSettings> configurator)

Examples

Restores client side libraries using the settings ('libman restore')

LibManRestore(settings =>
       {
           settings
                .WithVerbosity(LibManVerbosity.Detailed)
                .FromPath(@"c:\myproject");
       });

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
configurator Action<LibManRestoreSettings> The settings configurator.

Return Value

Type Description
void