Commit 8f89e01
chore(cli): list managed tools in
Move the tool list from `bin`'s description into the parent `toolchain`
description, add argument descriptions on `use`/`update`/`bin` so the
choices show under `Arguments:`, and enable `showHelpAfterError()` so a
bare `mops toolchain use` prints the help (with choices) instead of just
`error: missing required argument 'tool'`.
Co-authored-by: Cursor <cursoragent@cursor.com>mops toolchain --help and on missing/invalid <tool>
1 parent c64a48a commit 8f89e01
2 files changed
Lines changed: 22 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
677 | | - | |
678 | | - | |
679 | | - | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
680 | 682 | | |
681 | 683 | | |
682 | 684 | | |
| |||
695 | 697 | | |
696 | 698 | | |
697 | 699 | | |
698 | | - | |
699 | | - | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
700 | 707 | | |
701 | 708 | | |
702 | 709 | | |
| |||
709 | 716 | | |
710 | 717 | | |
711 | 718 | | |
712 | | - | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
713 | 725 | | |
714 | 726 | | |
715 | 727 | | |
| |||
719 | 731 | | |
720 | 732 | | |
721 | 733 | | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
| 734 | + | |
| 735 | + | |
726 | 736 | | |
727 | 737 | | |
728 | 738 | | |
| |||
0 commit comments