MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / buildCommandForConfigKey

Function buildCommandForConfigKey

frontend/src/ts/commandline/util.ts:17–25  ·  view source on GitHub ↗
(key: K)

Source from the content-addressed store, hash-verified

15import { getOptions } from "../utils/zod";
16
17export function buildCommandForConfigKey<
18 K extends keyof CommandlineConfigMetadataObject,
19>(key: K): Command {
20 const configMeta = configMetadata[key];
21 const commandMeta = commandlineConfigMetadata[key];
22 const schema = ConfigSchemas.ConfigSchema.shape[key];
23
24 return _buildCommandForConfigKey(key, configMeta, commandMeta, schema);
25}
26function _buildCommandForConfigKey<
27 K extends keyof CommandlineConfigMetadataObject,
28>(

Callers 4

buildCommandsFunction · 0.90
font-family.tsFile · 0.90
buildCommandFunction · 0.85

Calls 1

Tested by 1

buildCommandFunction · 0.68