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

Function splitCommand

scripts/pr-ready.js:75–78  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

73}
74
75function splitCommand(command) {
76 const matches = String(command || '').match(/"[^"]*"|'[^']*'|\S+/g) || [];
77 return matches.map((part) => part.replace(/^["']|["']$/g, ''));
78}
79
80function runVerification(projectRoot, command) {
81 if (!command) {

Callers 2

runVerificationFunction · 0.70
test-pr-ready.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected