LibManCleanAliases.

LibManClean(ICakeContext, Action<LibManCleanSettings>) Method

Summary

Deletes library files previously restored via LibMan using the settings returned by a configurator. Folders that become empty after this operation are deleted.
Assembly
Cake.LibMan.dll
Namespace
Cake.LibMan
Containing Type
LibManCleanAliases

Syntax

public static void LibManClean(this ICakeContext context, Action<LibManCleanSettings> configurator)

Examples

Deletes library files previously restored via LibMan using the settings returned by a configurator. ('libman clean')

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

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

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

Return Value

Type Description
void