Commit dee57ea
committed
fix(mcp): honor --help on the contributor-profile CLI command
contributorProfileCli had no `if (options.help === true)` short-circuit,
unlike every sibling command around it (decisionPackCli, monitorOpenPrsCli,
repoDecisionCli). `loopover-mcp contributor-profile --help` fell through to
login resolution and threw "Pass --login ..." instead of printing usage.
Add printContributorProfileHelp() and the --help guard at the top of the
command, mirroring decisionPackCli.
Closes #69921 parent a752b8f commit dee57ea
2 files changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3865 | 3865 | | |
3866 | 3866 | | |
3867 | 3867 | | |
| 3868 | + | |
| 3869 | + | |
| 3870 | + | |
| 3871 | + | |
| 3872 | + | |
| 3873 | + | |
| 3874 | + | |
| 3875 | + | |
| 3876 | + | |
| 3877 | + | |
| 3878 | + | |
| 3879 | + | |
| 3880 | + | |
| 3881 | + | |
3868 | 3882 | | |
3869 | 3883 | | |
3870 | 3884 | | |
3871 | 3885 | | |
3872 | 3886 | | |
3873 | 3887 | | |
| 3888 | + | |
3874 | 3889 | | |
3875 | 3890 | | |
3876 | 3891 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
52 | 61 | | |
0 commit comments