In a pan over medium heat, saute diced onions, 1 tbsp of oil, and 1/2 tsp of salt for 10 minutes. Stirring every couple of minutes.
Once the onions are slightly caramelized and browned around the edges (some will look burnt), add cauliflower rice, onion powder, garlic powder, pepper, and oregano or thyme (if desired).
Cover and continue to cook for 10 minutes over medium heat.
After the 10 minutes, stir the rice and add the remaining tbsp of oil. The edges of the rice should be starting to brown at this point.
Cover once again and cook for another 10 minutes.
Add the butter or ghee and 1-1 1/2 tsp of salt.
Stir and cook for just 1-2 minutes longer until the butter is melted and incorporated. Serve immediately and enjoy!