MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / printHelp

Function printHelp

scripts/bench-full-compare.mjs:79–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79function printHelp() {
80 process.stdout.write(
81 [
82 "Usage:",
83 " node scripts/bench-full-compare.mjs [options]",
84 "",
85 "Options:",
86 ` --baseline <path> Baseline results JSON (default: ${toRel(DEFAULT_BASELINE)})`,
87 ` --current <path> Current results JSON (default: ${toRel(DEFAULT_CURRENT)})`,
88 ` --report-json <path> JSON report output (default: ${toRel(DEFAULT_REPORT_JSON)})`,
89 ` --report-md <path> Markdown report output (default: ${toRel(DEFAULT_REPORT_MD)})`,
90 " --help, -h Show this help",
91 "",
92 ].join("\n"),
93 );
94}
95
96function readJson(path, label) {
97 let raw = "";

Callers 1

parseArgsFunction · 0.70

Calls 2

toRelFunction · 0.70
writeMethod · 0.65

Tested by

no test coverage detected