You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expose ParseResult Symbol.Parse(string[] args, CommandLineConfiguration = default), so users can easily discover parsing
make Parser a static type with a single ParseResult Parse(string[] args, CommandLineConfiguration = default) method
make CommandLineBuilder.Build return CommandLineConfiguration, move all extension methods from CommandLineBuilderExtensions to CommandLineBuilder itself
Move the actual parsing logic from StringExtensions to Parser:
ParseResult Symbol.Parse(string[] args, CommandLineConfiguration = default), so users can easily discover parsingParsera static type with a singleParseResult Parse(string[] args, CommandLineConfiguration = default)methodCommandLineBuilder.BuildreturnCommandLineConfiguration, move all extension methods fromCommandLineBuilderExtensionstoCommandLineBuilderitselfStringExtensionstoParser:https://github.com/dotnet/command-line-api/blob/main/src/System.CommandLine/Parsing/StringExtensions.cs#L72