[bin] refuctor bin command