MCPcopy Index your code
hub / github.com/docker/docker-agent / newServeCmd

Function newServeCmd

cmd/root/serve.go:7–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5)
6
7func newServeCmd() *cobra.Command {
8 cmd := &cobra.Command{
9 Use: "serve",
10 Short: "Start an agent as a server",
11 GroupID: "advanced",
12 }
13
14 cmd.AddCommand(newA2ACmd())
15 cmd.AddCommand(newACPCmd())
16 cmd.AddCommand(newAPICmd())
17 cmd.AddCommand(newChatCmd())
18 cmd.AddCommand(newMCPCmd())
19
20 return cmd
21}

Callers 1

NewRootCmdFunction · 0.85

Calls 5

newA2ACmdFunction · 0.85
newACPCmdFunction · 0.85
newAPICmdFunction · 0.85
newChatCmdFunction · 0.85
newMCPCmdFunction · 0.85

Tested by

no test coverage detected