Line-intensity mapping with the CO mapping array pathfinder and beyond