updated cmd_template format
//+build ignore