1// Package main is the entry point for the Crush CLI.
5// @description Crush is a terminal-based AI coding assistant. This API is served over a Unix socket (or Windows named pipe) and provides programmatic access to workspaces, sessions, agents, LSP, MCP, and more.
7// @contact.url https://charm.sh
9// @license.url https://github.com/charmbracelet/crush/blob/main/LICENSE
19 "github.com/charmbracelet/crush/internal/cmd"
20 _ "github.com/charmbracelet/crush/internal/dns"
21 _ "github.com/joho/godotenv/autoload"
25 if os.Getenv("CRUSH_PROFILE") != "" {
27 slog.Info("Serving pprof at localhost:6060")
28 if httpErr := http.ListenAndServe("localhost:6060", nil); httpErr != nil {
29 slog.Error("Failed to pprof listen", "error", httpErr)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list