MCPcopy Create free account
hub / github.com/compozy/agh / agentQueryFromCommand

Function agentQueryFromCommand

internal/cli/agent.go:296–302  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

294}
295
296func agentQueryFromCommand(cmd *cobra.Command) (AgentQuery, error) {
297 workspace, err := commandWorkspaceFlag(cmd)
298 if err != nil {
299 return AgentQuery{}, err
300 }
301 return AgentQuery{Workspace: workspace}, nil
302}
303
304func agentListBundle(items []AgentRecord) outputBundle {
305 return listBundle(

Callers 4

newAgentListCommandFunction · 0.85
newAgentInfoCommandFunction · 0.85

Calls 1

commandWorkspaceFlagFunction · 0.85

Tested by

no test coverage detected