Bring a large pot of salted water to the boil. Add fresh beans cook for 3-4 minutes until tender but still very firm. Drain and immediately rinse under very cold water or an ice bath. This stops the cooking process.
Melt butter in a large pan over medium-high heat. Add in the onions and sauté until soft and golden, about 3-4 minutes.
Add garlic and cook for 1 minute more, until fragrant.
Add the green beans, and sauté stirring constantly, for an additional 2 minutes.
Remove from heat, and squeeze lemon juice over and sprinkle with almond flakes.