perpetualKid / GetText.NET

A .NET Standard cross-platform implementation of GNU Gettext
Other
34 stars 11 forks source link

Refactor commandline options for CommandLine package upgrade limiting options to 8 #45

Open perpetualKid opened 2 years ago

perpetualKid commented 2 years ago

with System.CommandLine 2.0 Beta 4 the number of commandline options to be passed to rootCommand.SetHandler is reduced from 16 to 8 https://github.com/dotnet/command-line-api/issues/1750#issue-1258448424. Due to new alias* commands, Extractor currently requires the handler to pass 10 parameters. This needs to be refactored, ie. combining alias handling into a single paramter option, using resultfiles or other. May need some further research before implementation. This issue is currently blocking upgrade of System.CommandLine package.
@owlblocks