LibManCacheCleanAliases.

LibManCacheClean(ICakeContext, Action<LibManCacheCleanSettings>) Method

Summary

Clears library cache using the specified configurator LibManCacheCleanSettings.
Assembly
Cake.LibMan.dll
Namespace
Cake.LibMan
Containing Type
LibManCacheCleanAliases

Syntax

public static void LibManCacheClean(this ICakeContext context, Action<LibManCacheCleanSettings> configurator)

Examples

Clears library cache using the via LibMan using the settings returned by a configurator. ('libman cache clean')

LibManCacheClean(settings =>
       {
           settings
               .WithProvider(CdnProvider.Default)
               .WithVerbosity(LibManVerbosity.Detailed)
               .FromPath(@"c:\myproject");
       });

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

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

Return Value

Type Description
void