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

Function AgentIDs

internal/skills/registry/registry.go:366–372  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Callers 3

NewCmdListFunction · 0.92
NewCmdInstallFunction · 0.92
ValidAgentIDsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected