(deps commandDeps, workspaceRef *string)
| 405 | } |
| 406 | |
| 407 | func 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 | |
| 419 | func newNetworkThreadsListCommand(deps commandDeps, workspaceRef *string) *cobra.Command { |
| 420 | var flags networkThreadsFlags |
no test coverage detected