MCPcopy Index your code
hub / github.com/callstack/agent-device / assertConnectProviderUsage

Function assertConnectProviderUsage

src/cli/commands/connection.ts:121–127  ·  view source on GitHub ↗
(provider: ConnectProvider | undefined, flags: CliFlags)

Source from the content-addressed store, hash-verified

119}
120
121function assertConnectProviderUsage(provider: ConnectProvider | undefined, flags: CliFlags): void {
122 if (!provider || !flags.remoteConfig) return;
123 throw new AppError(
124 'INVALID_ARGS',
125 'connect provider positional and --remote-config are mutually exclusive.',
126 );
127}
128
129function readRequiredConnectScope(
130 flags: CliFlags,

Callers 1

connectCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected