Context
contributorProfileCli (packages/loopover-mcp/bin/loopover-mcp.js:3775-3785, the CLI mirror of loopover_get_contributor_profile) has no if (options.help === true) check at all, unlike every sibling command directly around it — decisionPackCli (line 3791: if (options.help === true) return printDecisionPackHelp();), monitorOpenPrsCli (line 3821), repoDecisionCli (line 3855), and others. Running loopover-mcp contributor-profile --help falls through to the normal login-resolution path instead of printing usage, and throws "Pass --login <github-login>, log in with \loopover-mcp login`, or set LOOPOVER_LOGIN."` if no login is resolvable — a confusing error in place of help text.
Requirements
- Add
if (options.help === true) return printContributorProfileHelp(); at the top of contributorProfileCli, following the exact pattern of decisionPackCli/monitorOpenPrsCli.
- Add a
printContributorProfileHelp() function describing the command's usage, flags (--login, --json), and login-resolution precedence (--login / active session / LOOPOVER_LOGIN / GITHUB_LOGIN), following the style of printDecisionPackHelp() or another sibling help function.
Deliverables
Test Coverage Requirements
99%+ Codecov patch coverage on every changed line and branch, plus the regression test above.
Expected Outcome
loopover-mcp contributor-profile --help behaves like every other CLI command's --help flag instead of throwing a login error.
Links & Resources
packages/loopover-mcp/bin/loopover-mcp.js:3791 (decisionPackCli's --help handling) — the pattern to follow. :3775 — the function to fix.
Context
contributorProfileCli(packages/loopover-mcp/bin/loopover-mcp.js:3775-3785, the CLI mirror ofloopover_get_contributor_profile) has noif (options.help === true)check at all, unlike every sibling command directly around it —decisionPackCli(line 3791:if (options.help === true) return printDecisionPackHelp();),monitorOpenPrsCli(line 3821),repoDecisionCli(line 3855), and others. Runningloopover-mcp contributor-profile --helpfalls through to the normal login-resolution path instead of printing usage, and throws"Pass --login <github-login>, log in with \loopover-mcp login`, or set LOOPOVER_LOGIN."` if no login is resolvable — a confusing error in place of help text.Requirements
if (options.help === true) return printContributorProfileHelp();at the top ofcontributorProfileCli, following the exact pattern ofdecisionPackCli/monitorOpenPrsCli.printContributorProfileHelp()function describing the command's usage, flags (--login,--json), and login-resolution precedence (--login/ active session /LOOPOVER_LOGIN/GITHUB_LOGIN), following the style ofprintDecisionPackHelp()or another sibling help function.Deliverables
contributor-profile --helpprints usage instead of attempting login resolutionprintContributorProfileHelp()function added--helpshort-circuits before any login resolution or network callTest Coverage Requirements
99%+ Codecov patch coverage on every changed line and branch, plus the regression test above.
Expected Outcome
loopover-mcp contributor-profile --helpbehaves like every other CLI command's--helpflag instead of throwing a login error.Links & Resources
packages/loopover-mcp/bin/loopover-mcp.js:3791(decisionPackCli's--helphandling) — the pattern to follow.:3775— the function to fix.