How to add an argument to a vyos script

Hi,

How to add an argument to a vyos script.

For example I would like to make a script with vyos command to automate the creation of traffic-policy rules.

Thank you

Br