(deps commandDeps, workspaceRef *string)
| 800 | } |
| 801 | |
| 802 | func newNetworkWorkCommand(deps commandDeps, workspaceRef *string) *cobra.Command { |
| 803 | cmd := &cobra.Command{ |
| 804 | Use: "work", |
| 805 | Short: "Inspect lifecycle-bearing network work", |
| 806 | } |
| 807 | cmd.AddCommand(newNetworkWorkLookupCommand(deps, workspaceRef, "lookup")) |
| 808 | cmd.AddCommand(newNetworkWorkLookupCommand(deps, workspaceRef, networkStatusKey)) |
| 809 | return cmd |
| 810 | } |
| 811 | |
| 812 | func newNetworkWorkLookupCommand(deps commandDeps, workspaceRef *string, use string) *cobra.Command { |
| 813 | var workID string |
no test coverage detected