commandlineparser / commandlineparser/commandline

Option parser: when value is the same as full parameter name

オープン
#238 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
4.8k
フォーク
478
PR マージ指標
30日以内にマージされた PR はありません

説明

Part of command line model:

```
[Option('o', "output", Separator = ' ')]
public IEnumerable OutputPathsList { get; set; }

[Option('d', "output-dir")]
public string OutputDir { get; set; }
```

And part of command line:
`--output-dir output -o :loop :magic_value`

if 'ouput' value is the same as full parameter name "output" I'll get empty OutputPathsList.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。