add c++ version for cli utility