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

Function formatPlanHosts

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

Source from the content-addressed store, hash-verified

1028}
1029
1030func formatPlanHosts(hosts []*registry.AgentHost) string {
1031 names := make([]string, len(hosts))
1032 for i, host := range hosts {
1033 names[i] = host.Name
1034 }
1035 return strings.Join(names, ", ")
1036}
1037
1038func checkOverwrite(opts *InstallOptions, skills []discovery.Skill, targetDir string, canPrompt bool) ([]discovery.Skill, error) {
1039 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