(deps commandDeps)
| 50 | ) |
| 51 | |
| 52 | func newAgentCommand(deps commandDeps) *cobra.Command { |
| 53 | cmd := &cobra.Command{ |
| 54 | Use: agentAgentKey, |
| 55 | Short: "Inspect AGH agent definitions", |
| 56 | } |
| 57 | |
| 58 | cmd.AddCommand(newAgentCreateCommand(deps)) |
| 59 | cmd.AddCommand(newAgentListCommand(deps)) |
| 60 | cmd.AddCommand(newAgentInfoCommand(deps)) |
| 61 | cmd.AddCommand(newAgentSoulCommand(deps)) |
| 62 | cmd.AddCommand(newAgentHeartbeatCommand(deps)) |
| 63 | return cmd |
| 64 | } |
| 65 | |
| 66 | type agentCreateFlags struct { |
| 67 | workspace string |
no test coverage detected