MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / commandExamples

Function commandExamples

graph-ui/tools/smoke-w8b.mjs:275–289  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

273
274/** Die Beispiele ueber der Kommandozeile, so wie sie dastehen. */
275const commandExamples = (page) =>
276 page.evaluate(() => {
277 const input = document.querySelector('[data-testid="atlas-command-input"]');
278 return {
279 placeholder: input?.getAttribute('placeholder') ?? '',
280 open: document.querySelector('[data-testid="atlas-command-examples"]') !== null,
281 rows: [...document.querySelectorAll('[data-testid="atlas-command-example"]')].map((node) => ({
282 id: node.getAttribute('data-example') ?? '',
283 symbol: node.getAttribute('data-symbol') ?? '',
284 text: node.querySelector('.atlas-command-example-text')?.textContent?.trim() ?? '',
285 tag: node.tagName,
286 focusable: node.tabIndex >= 0,
287 })),
288 };
289 });
290
291/** Was unter dem Diagramm steht, gezaehlt am gerenderten Baum. */
292const honestyBlock = (page) =>

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected