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)
| 88 | // printApplyResult reports what was written. An empty path means the tool has |
| 89 | // no config_target — there was nothing to apply. |
| 90 | func 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 | } |