commandlineparser / commandlineparser/commandline

have autohelp print values of enums in verbs?

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

説明

I have several verbs (subcommands) in my app. One of those verbs takes in an enum value. Is there a way where i can have the autohelp print the enum values possible?

or in another way, in

`myapp mysubcommand --help`

i would like to have the help message print the enum values of one of the required parameters. I found other bugs that say how to do it for options only by basically redefining the help in the initial program.cs, but i can't find any way to do it for a verb.

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

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

評価

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

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

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