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

Function usage

scripts/pr-ready.js:39–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39function usage() {
40 return [
41 'Usage:',
42 ' node scripts/pr-ready.js --pr <pull-request-url> --run-verification',
43 ' node scripts/pr-ready.js --pr <pull-request-url> --verification "npm run test"',
44 ' node scripts/pr-ready.js --pr <pull-request-url> --branch <branch-name> --run-verification',
45 '',
46 'Writes .planning/pr-readiness/<branch>.md and exits 0 only when local readiness gates pass.',
47 'When --verification is omitted, Citadel selects a verification profile from changed paths.',
48 ].join('\n');
49}
50
51function normalizePath(value) {
52 return String(value || '').replace(/\\/g, '/');

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected