trunk

An all-in-one tool for scalably checking, formatting, and monitoring code

Subcommands

NameDescription
initSetup trunk in this repo
checkUniversal code checker
fmtUniversal code formatter
upgradeUpgrade trunk to the latest release
git-hooksGit hooks
cacheCache management
print-configPrint the resolved trunk config
daemonDaemon management

Options

NameDescription
-h, --help
  • Persistent ⚖
--version
  • Persistent ⚖
-m, --monitor <value>
  • Persistent ⚖
--ci
  • Persistent ⚖
-o, --output <format>
  • Persistent ⚖
--no-progress
  • Persistent ⚖
--ci-progress
  • Persistent ⚖
--action_timeout <timeout>
  • Persistent ⚖
-v, --verbose
  • Persistent ⚖