commandlineparser / commandlineparser/commandline
Use keyword to set positional argument
未關閉
question
- 主要語言
- C#
- 星號
- 4.8k
- 分支
- 478
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I don't think this issue has been submitted before, but #56 seems to want the same sort of thing.
I want this syntax to be the normal usage:
app inputfile outputfile
But I want both arguments to be optional and fallback on defaults:
app
Which means that it would be nice to specify one but not the other:
app inputfile
app -t outputfile
Therefore, I'd like to be able to set outputfile via *either* a positional or a keyword argument. Is this supported?
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。