MCPcopy Create free account
hub / github.com/driangle/taskmd / printBanner

Method printBanner

apps/cli/internal/web/server.go:139–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137}
138
139func (s *Server) printBanner() {
140 fmt.Printf("taskmd web server running at http://localhost:%d\n", s.config.Port)
141 fmt.Printf("Watching %s for changes\n", s.config.ScanDir)
142 if s.config.ReadOnly {
143 fmt.Println("Read-only mode: editing is disabled")
144 }
145 if s.config.Dev {
146 fmt.Println("Dev mode: CORS enabled for http://localhost:5173")
147 }
148}
149
150func (s *Server) mountStatic(mux *http.ServeMux) {
151 if s.config.Dev {

Callers 3

StartMethod · 0.95
TestPrintBanner_DefaultFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestPrintBanner_DefaultFunction · 0.76