Add delete and refresh commands to the cli