MCPcopy Create free account
hub / github.com/cli/cli / formatPlanHosts

Function formatPlanHosts

pkg/cmd/skills/install/install.go:1037–1043  ·  view source on GitHub ↗
(hosts []*registry.AgentHost)

Source from the content-addressed store, hash-verified

1035}
1036
1037func formatPlanHosts(hosts []*registry.AgentHost) string {
1038 names := make([]string, len(hosts))
1039 for i, host := range hosts {
1040 names[i] = host.Name
1041 }
1042 return strings.Join(names, ", ")
1043}
1044
1045func checkOverwrite(opts *InstallOptions, skills []discovery.Skill, targetDir string, canPrompt bool) ([]discovery.Skill, error) {
1046 var existing, fresh []discovery.Skill

Callers 3

installRunFunction · 0.85
runLocalInstallFunction · 0.85
buildInstallPlansFunction · 0.85

Calls 1

JoinMethod · 0.80

Tested by

no test coverage detected