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

Function newAgentCommand

internal/cli/agent.go:52–64  ·  view source on GitHub ↗
(deps commandDeps)

Source from the content-addressed store, hash-verified

50)
51
52func 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
66type agentCreateFlags struct {
67 workspace string

Callers 1

newRootCommandFunction · 0.85

Calls 5

newAgentCreateCommandFunction · 0.85
newAgentListCommandFunction · 0.85
newAgentInfoCommandFunction · 0.85
newAgentSoulCommandFunction · 0.85
newAgentHeartbeatCommandFunction · 0.85

Tested by

no test coverage detected