Joanna Garcia-Swisher

Better With You actress JoAnna Garcia Swisher has landed the lead role in a new CBS comedy pilot.

First reported by Deadline.com, the pilot will be written and executive-produced by Greg Berlanti and Greg Malins (who also happened to be the executive producer and co-showrunner of Better With You).

JoAnna Garcia checks into Royal Pains as the new doc in town

The show follows a guy who falls for his best friend (and business partner of 15 years) after suffering a health scare. Garcia Swisher, 32, is set to play Wendy, the love interest.

Garcia Swisher, who married New York Yankees right fielder Nick Swisher in December, got her start as Cheyenne Hart Montgomery on The CW's Reba. She recently starred in ABC's sitcom Better With You, but the series was cancelled last May. Garcia Swisher is also set to guest-star on several episodes of Royal Pains' this season.