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

Function bridgeProviderConfigForUpdate

internal/cli/bridge.go:415–423  ·  view source on GitHub ↗
(
	rawValue string,
)

Source from the content-addressed store, hash-verified

413}
414
415func 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
425func newBridgeEnableCommand(deps commandDeps) *cobra.Command {
426 return &cobra.Command{

Callers 1

buildBridgeUpdateRequestFunction · 0.85

Calls 2

Tested by

no test coverage detected