trunk from the command line are:
trunk check --help.
Trunk is git-aware. When you run
trunk check it will only run on files you’ve modified according to git. To run on a sampling in your repo, run: trunk check --sample 5check
trunk check runs linters & formatters on your changed files, prompting you to apply fixes. Without additional args, trunk check will run all applicable linters on all files changed in the current branch.
fmt
Run all applicable formatters as configured intrunk.yaml. trunk fmt is short-hand for runningtrunk check with a --fix --filter set to all formatters enabled in your repository.