-
Notifications
You must be signed in to change notification settings - Fork 85
added portable library and attempt to handle free arguments #23
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
base: develop
Are you sure you want to change the base?
Conversation
/// <summary> | ||
/// Splits the specified <see cref="System.String"/> when each whitespace char is encountered into a collection of substrings. | ||
/// </summary> | ||
/// <param name="value">The <see cref="System.String"/> to split.</param> | ||
/// <returns>A collection of substrings taken from <paramref name="value"/>.</returns> | ||
/// <remarks>If the whitespace is wrapped in double quotes then it is ignored.</remarks> | ||
/// <remarks>If the whitespace is wrapped in double quotes or quotes then it is ignored.</remarks> | ||
public static IEnumerable<string> SplitOnWhitespace(this string value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you update this because you use single quotes to wrap string values that can contain whitespace, such as 'my value'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but as I said, this implies change somewhere else that I didn't do.
I think I need to remove single quotes after because 'my value' needs to be in a string without the '
Conflicts: FluentCommandLineParser/Internals/CommandLineOption.cs FluentCommandLineParser/Internals/Parsing/CommandLineParserEngineMark2.cs FluentCommandLineParser/InvalidOptionNameException.cs FluentCommandLineParser/OptionAlreadyExistsException.cs FluentCommandLineParser/Properties/AssemblyInfo.cs
This reverts commit 0af92ee.
Is this project still supported, I see the failed test which are very old... I am interested in implementing the .Validate(Predicate condition) method! |
Follows #23 - Test against parsing standard/uppercase/lowercase string values. - Test to ensure that a custom enum parser is given priority over default one. - Test that int32 are parsed into enum correctly.
more information in the mail I sent you.