alexandre-lecoq / alexandre-lecoq/QueryMultiDb

Replace command line parsing library with a new one

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
code enhancement
Dominant language
C#
Stars
2
Forks
5
PR merge metrics
No merged PRs in 30d

Description

We need a command line parser that matches our need, is stable, and maintained.
There are lots of parsing packages available out there, but most a small abandoned projects.

I selected 4 candidates for this purpose :

Github | Nuget | Comment | Usage & Popularity | Days / Release
------------ | ------------- | ------------- | ------------- | -------------
[commandline](https://github.com/commandlineparser/commandline) | [CommandLineParser 2.6.0](https://www.nuget.org/packages/commandlineparser) | Used from begining to 2018-05-28 fa9198df2b4cdce5a9a2fca0b04961c470ee0f73 | 1 | 62
[CommandLineUtils](https://github.com/natemcmaster/CommandLineUtils) | [McMaster.Extensions.CommandLineUtils 2.4.4](https://www.nuget.org/packages/McMaster.Extensions.CommandLineUtils/) | | 2 | 12
[PowerArgs](https://github.com/adamabdelhamed/PowerArgs) | [PowerArgs 3.6.0](https://www.nuget.org/packages/PowerArgs/) | | 3 | 191
[CommandLineParser](https://github.com/j-maly/CommandLineParser) | [CommandLineArgumentsParser 3.0.20](https://www.nuget.org/packages/CommandLineArgumentsParser) | Used from 2018-05-28 to now fa9198df2b4cdce5a9a2fca0b04961c470ee0f73 | 4 | 162

`McMaster.Extensions.CommandLineUtils` looks like a good candidate, but the change has to be studied carefully.
Nowadays QueryMultiDb is used automatically by other tools which generates its command line.
Therefore, changing the commandline syntax in the tool would be a breaking change.
The migration to a new parsing library must retain backward compatibility.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.