MCPcopy Create free account
hub / github.com/codehamr/codehamr / printHelp

Function printHelp

cmd/codehamr/main.go:100–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100func printHelp() {
101 fmt.Println(strings.TrimSpace(`
102codehamr, a lightweight, fast coding agent for the terminal.
103
104Usage:
105 codehamr start interactive TUI
106 codehamr --version print version
107
108Slash commands (inside TUI):`))
109 tui.PrintHelp(os.Stdout)
110 fmt.Println(strings.TrimSpace(`
111Keys (inside TUI):
112 ctrl+l clear the screen (keeps conversation)
113 ctrl+c cancel running op · press again to quit
114 ctrl+d quit (on empty input)
115
116Config:
117 .codehamr/config.yaml per-project settings
118
119Env:
120 CODEHAMR_URL override the active profile's url at runtime
121 CODEHAMR_IDLE_TIMEOUT stream idle timeout, e.g. 90m or 1h (default 1h)`))
122}
123
124// isLocalBuild reports whether the binary came from a working tree rather
125// than an official release. `go run` leaves version "dev"; `make install`

Callers 1

mainFunction · 0.85

Calls 1

PrintHelpFunction · 0.92

Tested by

no test coverage detected