Commit 88d385e
fix(cortex-cli): consolidate mcp list command with ls alias
Fixes bounty issue #1399
The mcp subcommands had both 'list' and 'ls' as separate variants in the
McpSubcommand enum. This caused the help output to show them as separate
commands instead of documenting 'ls' as an alias for 'list'. This fix
removes the redundant Ls variant and adds visible_alias='ls' to the List
variant so the help correctly shows 'ls' as an alias.1 parent 44a4c7a commit 88d385e
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 259 | | |
263 | | - | |
| 260 | + | |
264 | 261 | | |
265 | 262 | | |
266 | 263 | | |
| |||
447 | 444 | | |
448 | 445 | | |
449 | 446 | | |
450 | | - | |
| 447 | + | |
451 | 448 | | |
452 | 449 | | |
453 | 450 | | |
| |||
0 commit comments