This repository was archived by the owner on Apr 20, 2023. It is now read-only.
Commit aab9af7
Peter Huene
Implement uninstall tool command.
This commit implements the `uninstall tool` command.
The `uninstall tool` command is responsible for uninstalling global tools that
are installed with the `install tool` command.
This commit heavily refactors the ToolPackage and ShellShim namespaces to
better support the operations required for the uninstall command.
Several string resources have been updated to be more informative or to correct
oddly structured sentences.
This commit also fixes `--version` on the install command not supporting ranges
and wildcards.
Fixes #8549.
Issue #8485 is partially fixed by this commit (`--prerelease` is not yet
implemented).1 parent 787bee7 commit aab9af7
File tree
134 files changed
+6375
-3158
lines changed- src
- Microsoft.DotNet.Cli.Utils
- Microsoft.DotNet.InternalAbstractions
- dotnet
- ShellShim
- ToolPackage
- commands
- dotnet-help
- xlf
- dotnet-install/dotnet-install-tool
- xlf
- dotnet-uninstall
- tool
- xlf
- xlf
- xlf
- test
- Microsoft.DotNet.Configurer.UnitTests
- Microsoft.DotNet.ShellShim.Tests
- Microsoft.DotNet.ToolPackage.Tests
- Microsoft.DotNet.Tools.Tests.ComponentMocks
- Microsoft.DotNet.Tools.Tests.Utilities/Mock
- dotnet-help.Tests
- dotnet.Tests/CommandTests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
134 files changed
+6375
-3158
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
55 | 65 | | |
56 | 66 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
152 | 157 | | |
153 | 158 | | |
154 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | 523 | | |
527 | 524 | | |
528 | 525 | | |
| |||
541 | 538 | | |
542 | 539 | | |
543 | 540 | | |
544 | | - | |
545 | | - | |
546 | | - | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
547 | 556 | | |
548 | | - | |
| 557 | + | |
549 | 558 | | |
550 | | - | |
551 | | - | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
552 | 566 | | |
553 | 567 | | |
554 | 568 | | |
555 | 569 | | |
556 | | - | |
557 | | - | |
558 | | - | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
559 | 573 | | |
560 | | - | |
| 574 | + | |
561 | 575 | | |
562 | | - | |
563 | | - | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
564 | 583 | | |
565 | 584 | | |
566 | 585 | | |
567 | 586 | | |
568 | | - | |
569 | | - | |
570 | | - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
571 | 591 | | |
572 | | - | |
| 592 | + | |
| 593 | + | |
573 | 594 | | |
574 | 595 | | |
575 | 596 | | |
576 | 597 | | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
581 | 609 | | |
582 | | - | |
583 | | - | |
| 610 | + | |
| 611 | + | |
584 | 612 | | |
585 | 613 | | |
586 | 614 | | |
| |||
589 | 617 | | |
590 | 618 | | |
591 | 619 | | |
592 | | - | |
| 620 | + | |
593 | 621 | | |
594 | 622 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments