commandlineparser / commandlineparser/commandline

have autohelp print values of enums in verbs?

Đang mở
#651 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C#
Star
4.8k
Fork
478
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.