How to ship a command line tool with a macOS app on the App Store?

How can we include the command line tool with the macOS app when distributing on the App Store?