If literally all of the vlans configured on the switch should be the member of a trunk port you can use the members all keyword.
set interfaces ge-0/0/2 unit 0 family ethernet-switching port-mode trunk vlan members all
If literally all of the vlans configured on the switch should be the member of a trunk port you can use the members all keyword.
set interfaces ge-0/0/2 unit 0 family ethernet-switching port-mode trunk vlan members all