Run custom wp-cli commands on provision

What is the best way to enhance the Trellis setup to run wp commands on vagrant up? I’d like to extend the default provisioning to include things like wp theme activiate xyz

I’d just create a custom role with the tasks you need and put it last after wordpress-setup: https://github.com/roots/trellis/blob/7c159ff4c3adbf7b51594ebdebd7ef920eeaedeb/dev.yml#L23