Add list and sort peer and opt dependencies commands. #5