( rawValue string, )
| 413 | } |
| 414 | |
| 415 | func bridgeProviderConfigForUpdate( |
| 416 | rawValue string, |
| 417 | ) (contract.BridgeProviderConfigPayload, error) { |
| 418 | raw, err := parseRequiredBridgeJSONWithLabel(strings.TrimSpace(rawValue), "provider config") |
| 419 | if err != nil { |
| 420 | return nil, err |
| 421 | } |
| 422 | return contract.BridgeProviderConfigPayload(*raw), nil |
| 423 | } |
| 424 | |
| 425 | func newBridgeEnableCommand(deps commandDeps) *cobra.Command { |
| 426 | return &cobra.Command{ |
no test coverage detected