Back to the old days of British motorbikes.
Common to take the brake & throttle cables off, hang them up and then make a plasticine cup round the highest end.
Fill cup with engine oil & allow to run down inside & drip out of the bottom.
I do the same with the trailer brake cables which have a convenient built in cup already in place!