Skip to main content

Function: generateCliRouteManifest()

generateCliRouteManifest(args): Record<string, Route>

Defined in: generateCliRoutes.ts:476

Reads every .yaml/.yml OpenAPI spec file in specsDir and builds a route manifest — a map from CLI command name to the SDK service class, operation, and flag metadata needed to dispatch and document that command.

A spec may $ref components out of another file, which is read relative to the spec that points at it; the file it lives in need not be one of the modules in specsDir.

Parameters​

ParameterType
argsGenerateCliRouteManifestArgs

Returns​

Record<string, Route>