In a large pan, heat the vegetable oil over medium heat.
Add the finely chopped onion and cook until translucent.
Stir in the minced garlic and cook for another minute until fragrant.
Add the vermicelli noodles to the pan and cook, stirring frequently, until they turn golden brown.
Stir in the ground cinnamon, cardamom, turmeric, and cloves. Cook for a minute to release their aromas.
Add the sugar, raisins, and sliced almonds (if using). Mix well.
Pour in the water and add the salt. Bring to a boil, then reduce the heat and simmer for about 5-7 minutes, or until the vermicelli is tender and the liquid is mostly absorbed.
In a separate bowl, beat the eggs.
Pour the beaten eggs over the cooked vermicelli and gently stir to combine. Cook for an additional 2-3 minutes, or until the eggs are cooked through and well incorporated.
Garnish with fresh parsley or cilantro if desired.
Enjoy your meal!