add snapshots function for qingcloud cli