Files
cheatsheet-tldr/tldr/crush
2025-10-03 00:18:44 +00:00

35 lines
746 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# crush
> AI-powered terminal assistant for software development tasks.
> Provides interactive chat interface with AI capabilities, code analysis, and LSP integration.
> More information: <https://github.com/charmbracelet/crush>.
- Start interactive mode:
`crush`
- Run with debug logging:
`crush {{[-d|--debug]}}`
- Run with debug logging in a specific directory:
`crush {{[-d|--debug]}} {{[-c|--cwd]}} {{path/to/project}}`
- Run a single non-interactive prompt:
`crush run "{{Explain the use of context in Go}}"`
- Run in dangerous mode (auto-accept all permissions):
`crush {{[-y|--yolo]}}`
- Display version:
`crush {{[-v|--version]}}`