Commit a7693ee
authored
Feature Positional parameters (#96)
* Rework input parsing (#94)
* Empty option prefixes are not allowed
* Short options need to have a length of 1
* Return results by yielding
* Add API obsolete safety test
* Add second implementation of argument manager that will work better
* Add command context to keep track of the current command
* Add logging
* Test run with ArgumentManager2 implementation
* Add logging in tests
* Implement input parsing feature v2 fixes #89
* Use new ArgumentManager everywhere
* Remove old ArgumentManager
* Inject IArgumentManager
* Remove non async versions
* Implement order attribute
* Rename to ArgumentManager
* Fix ordered options need to be processed back to back or an exception will be thrown.
* Fix codefactor
* Add more tests1 parent 744a12b commit a7693ee
45 files changed
Lines changed: 834 additions & 613 deletions
File tree
- CommandLineParser.Tests
- Command
- Parsing
- Resolvers
- Validation
- Utils
- CommandLineParser
- Abstractions
- Command
- Models
- Parsing
- Command
- Usage
- Validations
- Core
- Attributes
- Command
- Exceptions
- Models
- Parsing
- Command
- Resolvers
- Utils
- Extensions/FluentValidationsExtensions/Core
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 18 | | |
50 | 19 | | |
51 | 20 | | |
| |||
68 | 37 | | |
69 | 38 | | |
70 | 39 | | |
71 | | - | |
| 40 | + | |
72 | 41 | | |
73 | 42 | | |
74 | 43 | | |
| |||
| 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 | + | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | 15 | | |
11 | 16 | | |
12 | | - | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | | - | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
0 commit comments