MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / create-language-block.ts

File create-language-block.ts

tools/challenge-helper-scripts/create-language-block.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import fs from 'fs/promises';
2import path from 'path';
3import { select, input, number } from '@inquirer/prompts';
4import { format } from 'prettier';

Callers

nothing calls this directly

Calls 7

getSuperblockStructureFunction · 0.90
getAllBlocksFunction · 0.85
getBlockPrefixFunction · 0.85
validateBlockNameFunction · 0.85
getLangFromSuperBlockFunction · 0.85
createLanguageBlockFunction · 0.85
inputFunction · 0.50

Tested by

no test coverage detected