Skip to content

Feature request: provide default value for option (and show it in the help) #82

Description

Apologies if I've missed this one. I see in the examples you're using conditionals to set default values, but what about providing something like

[Option(Description = "Verbosity",DefaultValue = 5)] so when an option is not required a default value is supplied - this could also be reflected in the help text so we're following the Principle of Least Astonishment.

Metadata

Metadata

Labels

closed-resolvedThis issue is closed because the work done to resolve it is complete.enhancementhelp wantedWe would be willing to take a well-written PR to help fix this.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions