Heat the olive oil in a frying pan.
Sauté the onion until golden. Add the tomatoes, scallions and chilli and cook gently for 5-6 minutes. Then add the garlic, cumin and sugar. Season.
Break an egg in each quarter of the pan.
Continue cooking until the eggs are just the way you like them.