I wrote this tool because dotnet clean is weak and pathetic.
Install it by running the following command in this directory:

dotnet tool install -g --add-source . DotnetNuke

Usage:

// This doesn't actually delete anything, but tells you what it would have deleted if you didn't use the --test flag.
dotnet nuke --test

// This deletes all bin, obj, and nupkg folders it can find in its execution directory.
dotnet nuke

I would highly recommend running this program with the --test flag before each use. I am not responsible for nuclear armageddon. Thanks :)