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

Function newNetworkDirectsCommand

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

Source from the content-addressed store, hash-verified

614}
615
616func newNetworkDirectsCommand(deps commandDeps, workspaceRef *string) *cobra.Command {
617 cmd := &cobra.Command{
618 Use: "directs",
619 Short: "Inspect restricted direct rooms",
620 }
621 cmd.AddCommand(newNetworkDirectsListCommand(deps, workspaceRef))
622 cmd.AddCommand(newNetworkDirectsResolveCommand(deps, workspaceRef))
623 cmd.AddCommand(newNetworkDirectsShowCommand(deps, workspaceRef))
624 cmd.AddCommand(newNetworkDirectsMessagesCommand(deps, workspaceRef))
625 return cmd
626}
627
628func newNetworkDirectsListCommand(deps commandDeps, workspaceRef *string) *cobra.Command {
629 var flags networkDirectsFlags

Callers 1

newNetworkCommandFunction · 0.85

Tested by

no test coverage detected