dotnet tool install --global rimraf --version 0.1.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local rimraf --version 0.1.0
nuke :add-package rimraf --version 0.1.0
Deep deletion command for .NET (like rm -rf).
This is based on the node tool of the same name.
This tool can be used as a dotnet global tool, or a dotnet local tool. If using it as part of a build script it's recommended to install it as a local tool.
dotnet tool install rimraf --global
dotnet new tool-manifest dotnet tool install rimraf
||See what would be deleted (enables
||Delete the directory being acted on instead of preserving it|
||Enable verbose output|
||Show version information|
||Show help and usage information|
dotnet rimraf (
rimraf if using as a global tool) to delete files and directories.
You can pass one or more paths or globs to delete.
Globbing is handled by the
DotNet.Glob library and supports of all its patterns and wildcards.
rimraf artifacts coverage
rimraf **/bin **/obj
The working directory is the directory that
rimraf is run from.
This project uses the run-script dotnet tool to manage its build and test scripts.
To use this you'll need to run
dotnet tool install and then
dotnet r to see the available commands or look at the
scripts section in the global.json.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp3.1 is compatible.|
This package has no dependencies.
See https://github.com/xt0rted/dotnet-rimraf/blob/main/CHANGELOG.md for more info