use streamParser in cmd line