I'm not aware of any premade cables with single rows of male pins. Probably the best way to handle this would be to use a bit of PCB and solder 10 male pins pointing downward, with a 10-pin Molex (male) connector pointing upward. Then use the corresponding (female) Molex on the other side. Or substitute a connector of your choice.
FWIW, in early versions of the cape we actually had male Molex headers for analog I/O instead of the sockets now on the board. That helped with making cables for permanent connection, but since 99% of the time spent with Bela is spent prototyping, we found that sockets were better because you could use standard breadboard wires. This is presumably the same decision-making process that drove Arduino to use sockets. And of course, either way the digital I/Os are sockets because they are built-in to the BBB itself.
For a permanent installation that connects to both digital and analog I/O, another board that snaps on top would be the easiest way to go. I think Adafruit sells prototyping PCBs in the shape of a BeagleBone cape, and we have lined up all the connectors on 0.1" spacing to make it easier to use with that kind of board.