Commit 1d512c4
committed
Use Microsoft.Extensions.CommandLineUtils and Microsoft.Extensions.Tools.Internal in service ref programs
- add '--quiet' option
- add '--debug' option (when building Debug configuration)
- support `--` in `dotnet-getdocument`; users may want to explictly add options for GetDocument.Insider
- remove '--no-color' option
- use `IReporter` extension methods instead of static `Reporter` class
- reduce `static` use to ease testing (coming soon) and share the `IConsole` and `IReporter`
- add `ProgramBase`
- allow mix of known and unknown command-line arguments
- maintain existing behaviour using switch added in dotnet/extensions#2210
nits:
- add a couple more `CommandLineApplicationExtensions` methods
- take VS suggestions1 parent 2819f54 commit 1d512c4
File tree
31 files changed
+327
-1288
lines changed- src/Tools
- Extensions.ApiDescription.Server/src/build
- GetDocumentInsider/src
- CommandLineUtils
- Commands
- dotnet-getdocument/src
- Commands
31 files changed
+327
-1288
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 19 deletions
This file was deleted.
0 commit comments