MCPcopy Create free account
hub / github.com/SethGammon/Citadel / q

Function q

scripts/codex-install.js:23–26  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

21}
22
23function q(value) {
24 const text = String(value);
25 return /\s/.test(text) ? `"${text.replace(/"/g, '\\"')}"` : text;
26}
27
28function display(command, args) {
29 return [command, ...args].map(q).join(' ');

Callers 1

codex-install.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected