Adding parsing logic to retrieve informations for share command