added repeat function in cli