MCPcopy Create free account
hub / github.com/MicrosoftDocs/mcp / parseDoctorFormat

Function parseDoctorFormat

cli/src/utils/options.ts:15–17  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

13}
14
15export function parseDoctorFormat(value: string): DoctorFormat {
16 return parseEnumValue(value, DOCTOR_FORMATS, 'doctor format');
17}
18
19export function resolveEndpoint(endpointOption: string | undefined, env: NodeJS.ProcessEnv): string {
20 const endpoint = endpointOption ?? env.MSLEARN_ENDPOINT ?? DEFAULT_ENDPOINT;

Callers

nothing calls this directly

Calls 1

parseEnumValueFunction · 0.85

Tested by

no test coverage detected