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

Function usage

scripts/fleet-steward.js:47–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 else if (key === '--write') args.write = true;
46 else if (key === '--override-readiness') args.overrideReadiness = true;
47 else if (key === '--plan') args.plan = true;
48 else if (key === '--base') {
49 if (!value || value.startsWith('--')) args.planError = '--base requires a local ref or full commit OID.';
50 else { args.base = value; i++; }
51 }
52 else if (key === '--help' || key === '-h') args.help = true;
53 else unknown.push(key);
54 }
55
56 if (args.plan && unknown.length) args.planError = `Unknown plan argument: ${unknown[0]}`;
57
58 return args;
59}
60

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected