Skip to main content

Definition

Assembly: CloudNimble.EasyAF.Tools.dll Namespace: CloudNimble.EasyAF.Tools.Commands Inheritance: System.Object

Syntax

Summary

Command for cleaning up build artifacts and lock files from the solution.

Remarks

This command recursively deletes bin, obj, TestResults directories and packages.lock.json files from the current directory and all subdirectories.

Examples

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

DryRun

Gets or sets a value indicating whether to show what would be deleted without actually deleting.

Syntax

Property Value

Type: bool

Path

Gets or sets the root directory to clean. Defaults to current directory.

Syntax

Property Value

Type: string

Quiet

Gets or sets a value indicating whether to run in quiet mode with minimal output.

Syntax

Property Value

Type: bool

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

OnExecuteAsync

Executes the cleanup command.

Syntax

Returns

Type: System.Threading.Tasks.Task<int> Exit code (0 for success, 1 for error).

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?