(cmd *cobra.Command)
| 294 | } |
| 295 | |
| 296 | func 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 | |
| 304 | func agentListBundle(items []AgentRecord) outputBundle { |
| 305 | return listBundle( |
no test coverage detected