( cmd *cobra.Command, deps commandDeps, client DaemonClient, workspaceRef *string, )
| 132 | } |
| 133 | |
| 134 | func resolveNetworkWorkspaceRef( |
| 135 | cmd *cobra.Command, |
| 136 | deps commandDeps, |
| 137 | client DaemonClient, |
| 138 | workspaceRef *string, |
| 139 | ) (string, error) { |
| 140 | raw := "" |
| 141 | if workspaceRef != nil { |
| 142 | raw = strings.TrimSpace(*workspaceRef) |
| 143 | } |
| 144 | return resolveCLIWorkspaceRouteRef(cmd.Context(), deps, client, raw) |
| 145 | } |
| 146 | |
| 147 | func newNetworkStatusCommand(deps commandDeps) *cobra.Command { |
| 148 | return &cobra.Command{ |
no test coverage detected