Add clear cache command.

This only clears the repo cache.. and not all caches. It's rather incomplete.