Commit 049a91c
committed
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 771ba8f commit 049a91c
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 | | |
| |||
443 | 440 | | |
444 | 441 | | |
445 | 442 | | |
446 | | - | |
| 443 | + | |
447 | 444 | | |
448 | 445 | | |
449 | 446 | | |
| |||
0 commit comments