dub clean [<package>] Options...
This command removes any cached build files of the given package(s). The final target file, as well as any copyFiles are currently not removed.
Without arguments, the package in the current working directory will be cleaned.
Cleans up *all* known packages (dub list)
Copyright (c) 1999-2022 by The D Language Foundation