Close GH-762: Support semver targets in cache clean command, fixes #688.. Fixes #688