alexandre-lecoq / alexandre-lecoq/QueryMultiDb

Replace command line parsing library with a new one

未關閉
#41 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
code enhancement
主要語言
C#
星號
2
分支
5
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。