Definition
Assembly: CloudNimble.EasyAF.Tools.dll Namespace: CloudNimble.EasyAF.Tools.Commands Inheritance: System.ObjectSyntax
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
objectSyntax
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
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
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
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?