Update cheatsheets

This commit is contained in:
ivuorinen
2025-07-31 00:21:38 +00:00
parent f892946174
commit fcb8fde17a
127 changed files with 564 additions and 116 deletions

29
tldr/trunk Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# trunk
> Bundle and serve Rust web apps with CI/CD pipelines.
> More information: <https://docs.trunk.io/references/cli>.
- Start local/production server with hot reloading:
`trunk serve --port {{port}} --release --proxy-backend {{URL}}`
- Build for production at root or subdirectory:
`trunk build --release --dist {{path/to/distribution}} --public-url {{/path/to/app/subdir}}`
- List all available tools in the repo and if they are enabled:
`trunk tools list`
- Enable/disable a tool at a specific version:
`trunk tools {{enable|disable}} {{tool}}@{{version}}`
- Print an action's execution history:
`trunk actions history {{action}}`