[cli] add a refresh command