Recently started using Salesforce DX. Got a scratch org spun up and pushed some source to it. However I needed to create a new trigger, which I couldn't find a CLI command to do. So I instead created in the UI of the scratch org. Now I'm trying to pull the trigger down to source but can't figure out how to do so.
Questions
- Is there a salesforce CLI command to create a trigger (sfdx force:apex:?)
- How can I specify from the CLI that I want to pull down this new trigger?