LibManCacheCleanAliases.

LibManCacheClean(ICakeContext, LibManCacheCleanSettings) Method

Summary

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

Syntax

public static void LibManCacheClean(this ICakeContext context, LibManCacheCleanSettings settings)

Examples

Clears library cache using the specified using the specified settings. ('libman cache clean')

var settings = new LibManCacheCleanSettings
     {
        WorkingDirectory = @"c:\myproject",
        Verbosity = LibManVerbosity.Detailed,
        Provider = CdnProvider.Default
     };
     LibManCacheClean(settings);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

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

Return Value

Type Description
void