Use old spoke nipples as cable ends , just slide the nipple over the cable end, shank end first, squease the nipple shank with the wire cutting jaws of a pair of pliers (gently) to fix to the cable then nip off the head of the nipple with the wire cutters.