Add describe command and refactor search function accordingly