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

Function AgentIDs

internal/skills/registry/registry.go:365–371  ·  view source on GitHub ↗

AgentIDs returns the IDs of all known agents as a slice.

()

Source from the content-addressed store, hash-verified

363
364// AgentIDs returns the IDs of all known agents as a slice.
365func AgentIDs() []string {
366 ids := make([]string, len(Agents))
367 for i, h := range Agents {
368 ids[i] = h.ID
369 }
370 return ids
371}
372
373// AgentHelpList returns a newline-separated bulleted list of agents for help text.
374func AgentHelpList() string {

Callers 3

NewCmdListFunction · 0.92
NewCmdInstallFunction · 0.92
ValidAgentIDsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected