Heat the olive oil in a large pan over medium high heat, and cook the onion and garlic for about 5 minutes, until the onion starts to turn translucent and garlic becomes fragrant.
Add the greens to the pan. You may have to add it in batches as they begin to cook down. Add the lemon juice and reserved pasta water or broth, beans and sundried tomatoes. Add salt and pepper to taste along with the red pepper flakes, if using. Cook for just a few more minutes, until heated throughout.
Remove from heat and toss with the cooked pasta.
Top with olive slices and nutritional yeast and serve. Enjoy!