ported from grunt-cmd-cct