CleanAll 0.0.0.9-alpha

This is a prerelease version of CleanAll.
dotnet tool install --global CleanAll --version 0.0.0.9-alpha
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local CleanAll --version 0.0.0.9-alpha
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CleanAll&version=0.0.0.9-alpha&prerelease
                    
nuke :add-package CleanAll --version 0.0.0.9-alpha
                    

dotnet clean-all

A dotnet tool that permanently removes all bin and obj folders from a directory's subdirectories.

Installation

To install globally, just run: dotnet tool install -g CleanAll

Usage

Delete all the bin\ and obj\ folders from all the projects in a solution:

Attempt to read the solution file, iterate through the projects and use msbuild to get the bin\ and obj\ folder paths.

CleanAll MyFolder\MyProject.sln

Delete all from a project's parent directory:

Use msbuild to get the bin and obj folder paths.

CleanAll MyFolder\MyProject\MyProject.csproj

Delete all from the current directory and it's sub-directories:

CleanAll

Test what the command would do without deleting anything (dry run):

CleanAll MyFolder --dry-run
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.0.0.9-alpha 78 10 days ago
0.0.0.8-alpha 112 14 days ago
0.0.0.7-alpha 115 14 days ago
0.0.0.6-alpha 104 15 days ago
0.0.0.5-alpha 101 15 days ago
0.0.0.4-alpha 100 15 days ago
0.0.0.3-alpha 99 15 days ago
0.0.0.2-alpha 98 15 days ago
0.0.0.1-alpha 105 15 days ago

Initial version, alpha