MCPcopy Index your code
hub / github.com/cli/cli / AgentIDs

Function AgentIDs

internal/skills/registry/registry.go:340–346  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

338
339// AgentIDs returns the IDs of all known agents as a slice.
340func AgentIDs() []string {
341 ids := make([]string, len(Agents))
342 for i, h := range Agents {
343 ids[i] = h.ID
344 }
345 return ids
346}
347
348// AgentHelpList returns a newline-separated bulleted list of agents for help text.
349func AgentHelpList() string {

Callers 3

NewCmdListFunction · 0.92
NewCmdInstallFunction · 0.92
ValidAgentIDsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected