FirelyTeam / firely-cql-sdk

BSD 3-Clause "New" or "Revised" License
26 stars 15 forks source link

Consider libraries for commandline parsing #329

Open baseTwo opened 2 months ago

baseTwo commented 2 months ago

The CommandLineParser Nuget package could a better solution to parse command line arguments. Consider using it in the PackageCLI projects, since it worked well in the demo project used in issue #323

Consider breaking up the cli into verbs (e.g. cql2elm, elm2csharp, compile, resource, etc)

ewoutkramer commented 2 months ago

Please also consider https://learn.microsoft.com/en-us/dotnet/standard/commandline/, since that's what we are using in the CAR factory project.

baseTwo commented 1 month ago

Another consideration is Spectre.Console, which supports not only parsing command line args, but also advanced console output. This library is also used in Dumpify