In a food processor fitted with a steel blade, work in batches so as not to overcrowd the machine and pulse the broccoli until it resembles rice, about 5-10 pulses. Measure 3 cups rice.
In a large skillet over medium high heat, saute the onion, garlic and chili flakes 5 minutes, stirring every minute.
Add the broccoli rice, salt and pepper and saute another 5 minutes.
Finally, add the parmesan, stir to combine and remove from the heat.
Enjoy on its own, as a side dish or top with a fried egg and some additional parmesan shavings.