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

Function newNetworkThreadsCommand

internal/cli/network.go:407–417  ·  view source on GitHub ↗
(deps commandDeps, workspaceRef *string)

Source from the content-addressed store, hash-verified

405}
406
407func newNetworkThreadsCommand(deps commandDeps, workspaceRef *string) *cobra.Command {
408 cmd := &cobra.Command{
409 Use: "threads",
410 Short: "Inspect public network threads",
411 }
412 cmd.AddCommand(newNetworkThreadsListCommand(deps, workspaceRef))
413 cmd.AddCommand(newNetworkThreadsShowCommand(deps, workspaceRef))
414 cmd.AddCommand(newNetworkThreadsMessagesCommand(deps, workspaceRef))
415 cmd.AddCommand(newNetworkThreadsPromoteCommand(deps, workspaceRef))
416 return cmd
417}
418
419func newNetworkThreadsListCommand(deps commandDeps, workspaceRef *string) *cobra.Command {
420 var flags networkThreadsFlags

Callers 1

newNetworkCommandFunction · 0.85

Tested by

no test coverage detected