All apps/Trunk

Trunk

trunk

All-in-one tool for checking, formatting and monitoring code.

Runs as trunk|macOS, Linux, Windows|trunk.io

Autocomplete

Fig spec, with what the manifest adds · 17 subcommands · 9 options
Published once and never changed; check the digest before caching
sha256
06bb2b881c7e94ea715ab8377c7a471683942453a5a8e17e10ac2a0a12c4925f
Size
11509 bytes
Subcommands17 subcommands
trunk init
Setup trunk in this repo
trunk check
Universal code checker
trunk check upgrade
Upgrade all linters to latest versions
trunk check download
Download all files needed for trunk to work offline
trunk check enable
Enable linters
trunk check disable
Disable linters
trunk fmt
Universal code formatter
trunk upgrade
Upgrade trunk to the latest release
trunk git-hooks
Git hooks
trunk git-hooks install
Install trunk git hooks
trunk cache
Cache management
trunk cache clean
Clean the cache
trunk print-config
Print the resolved trunk config
trunk daemon
Daemon management
trunk daemon launch
Start the trunk daemon if its not already running
trunk daemon shutdown
Shutdown the trunk daemon if it is running
trunk daemon status
Report daemon status
OptionsOn trunk itself
-h--help
Usage information
--version
The version
-m--monitor
Enable the trunk daemon to monitor file changes in your repo <value>
--ci
Run in continuous integration mode
-o--output
Output format <format>
--no-progress
Don't show progress updates
--ci-progress
Show updates every 30 seconds without clearing terminal screen (implicit with --ci)
--action_timeout
How long actions (downloads, lint runs, etc.) have to time out, with units (s, ms, etc) <timeout>
-v--verbose
Output details about what's happening under the hood