commandlineparser / commandlineparser/commandline
have autohelp print values of enums in verbs?
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no repository file or test. Begin with the autohelp path exercised by `myapp mysubcommand --help` and determine where verb parameters are rendered; done means that help output lists the enum's possible values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100