How to add crescendo/diminuendo to lines?

Hi all,
Does anyone know how to add a crescendo/diminuendo to a glissando? I’ve been using “lineto” for making glissandi, and it works fine, I just need to add dynamics/amplitude alterations to it. Thanks for any help! :pray: