rewrite cmd-grunt