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

Function main

scripts/watch.js:659–665  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

657// -- Main ---------------------------------------------------------------------
658
659function main() {
660 const opts = parseArgs(process.argv.slice(2));
661
662 if (opts.mode === 'scan') runScan(opts);
663 if (opts.mode === 'status') runStatus();
664 if (opts.mode === 'reset') runReset();
665}
666
667main();

Callers 1

watch.jsFile · 0.70

Calls 4

runStatusFunction · 0.85
runResetFunction · 0.85
parseArgsFunction · 0.70
runScanFunction · 0.70

Tested by

no test coverage detected