support peek-all option in cli tool