alexandre-lecoq / alexandre-lecoq/QueryMultiDb

Replace command line parsing library with a new one

Offen
#41 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
code enhancement
Vorherrschende Sprache
C#
Sterne
2
Forks
5
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.