In a 12-inch nonstick skillet, heat the oil over medium-high heat. Add the shallots and cook until soft, about 2 minutes. Add the sausage, red pepper flakes, if using, salt and pepper. Using a wooden spoon, break the sausage into 1/2-inch pieces. Cook, stirring occasionally, until cooked through, about 8 minutes. Add the pasta, vegetables and beaten eggs. Stir until the eggs are almost scrambled, about 2 to 3 minutes. Remove the skillet from the heat and stir in the cheese. Allow the cheese to melt slighty. Transfer the scramble to 4 plates and serve.