MCPcopy Create free account
hub / github.com/DavidHDev/react-bits / buildCli

Function buildCli

scripts/generateLlmsText.js:183–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181}
182
183function buildCli() {
184 const lines = [
185 `- shadcn: \`${CLI_INSTRUCTIONS.shadcn.command}\``,
186 ...CLI_INSTRUCTIONS.shadcn.params.map(p => ` - ${p}`),
187 `- jsrepo: \`${CLI_INSTRUCTIONS.jsrepo.command}\``,
188 ...CLI_INSTRUCTIONS.jsrepo.params.map(p => ` - ${p}`),
189 '',
190 'Notes:',
191 '',
192 ...CLI_INSTRUCTIONS.notes.map(n => `- ${n}`)
193 ];
194 return section('CLI', lines);
195}
196
197function buildVariants() {
198 const lines = VARIANT_LINKS.map(v => `- [${v.label}](${v.path}): ${v.note}`);

Callers 1

generateMarkdownFunction · 0.85

Calls 1

sectionFunction · 0.85

Tested by

no test coverage detected