LibManCleanAliases.

LibManClean(ICakeContext, LibManCleanSettings) Method

Summary

Deletes library files previously restored via LibMan using the specified settings. 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, LibManCleanSettings settings)

Examples

Deletes library files previously restored via LibMan using the specified settings. ('libman clean')

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

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

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

Return Value

Type Description
void