improve locale:clear command to support clear all / specified locale directory