-
-
Notifications
You must be signed in to change notification settings - Fork 567
Issues 187 203 1059 command line improvements #1103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues 187 203 1059 command line improvements #1103
Conversation
@FrankRay78 This might seem odd, but could you send me an email at |
c5a463b
to
9386451
Compare
025c46b
to
5ea59b9
Compare
5ea59b9
to
227345c
Compare
227345c
to
6ab8183
Compare
src/Spectre.Console.Cli/Internal/Modelling/CommandModelBuilder.cs
Outdated
Show resolved
Hide resolved
test/Spectre.Console.Cli.Tests/Unit/CommandModelBuilderTests.cs
Outdated
Show resolved
Hide resolved
…toryInfo (spectreconsole#1145) Add support for converting command parameters that doesn't have a built-in TypeConverter but has a constructor that takes a string. For CLI apps, FileInfo and DirectoryInfo will likely be the most useful ones, but there may be others.
…rtFlagsToRemainingArguments for readability
…CommandModelBuilder unit tests and replaced these with increased coverage in CommandAppTests.Xml
…rtFlagsToRemainingArguments for readability
…CommandModelBuilder unit tests and replaced these with increased coverage in CommandAppTests.Xml
Hi @patriksvensson, is there anything more required from myself regarding this PR? I've had an initial pass regarding addressing all your review comments, and pushed these changes to the branch. Let me know if you require anything further. |
*** This PR contains the following PRs I've worked on - #1101, #1070, #1102, rebased, merged together and with conflicts resolved ***
The following issues are addressed by the individual PRs listed above:
#187, 'Allow default command configuration for a branch'
#203, 'Simple switches end up on "remaining" list even if parsed properly'
#1059, 'Ability to add command line flags and their values to remaining arguments if they cannot be set on the settings class'
Together they seem like a reasonable parcel of command line improvements, and so I've grouped them together here for ease of reviewing (should they wish to be released together).