MCPcopy Create free account
hub / github.com/LegacyCodeHQ/clarity-cli / appendSetupBlock

Function appendSetupBlock

cmd/setup/setup_cmd.go:103–110  ·  view source on GitHub ↗
(existing string)

Source from the content-addressed store, hash-verified

101}
102
103func appendSetupBlock(existing string) string {
104 trimmed := strings.TrimRight(existing, "\n")
105 separator := "\n\n"
106 if trimmed == "" {
107 separator = ""
108 }
109 return trimmed + separator + buildSetupBlock(true)
110}

Callers 1

writeAgentsFileFunction · 0.85

Calls 1

buildSetupBlockFunction · 0.85

Tested by

no test coverage detected