MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / printApplyResult

Function printApplyResult

internal/cli/apply.go:90–98  ·  view source on GitHub ↗

printApplyResult reports what was written. An empty path means the tool has no config_target — there was nothing to apply.

(out io.Writer, sel launchSelection, path string)

Source from the content-addressed store, hash-verified

88// printApplyResult reports what was written. An empty path means the tool has
89// no config_target — there was nothing to apply.
90func printApplyResult(out io.Writer, sel launchSelection, path string) {
91 if path == "" {
92 fmt.Fprintf(out, "%s has no config file to write; nothing applied.\n", sel.Tool.Name)
93 return
94 }
95 fmt.Fprintf(out, "Applied %s → %s\n", sel.Tool.Name, path)
96 fmt.Fprintf(out, " provider: %s\n", sel.EndpointName)
97 fmt.Fprintf(out, " model: %s\n", sel.Model)
98}

Callers 1

applyCommandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected