dotnet / dotnet/templating

Add support for nullable Boolean parameters to enable a tri-state option

Open
#9,394 2 comments 1 reaction 0 assignees View on GitHub
triage:transfer-to-sdk
Dominant language
No language data
Stars
1.7k
Forks
399
Avg merge
3d 5h
Merged PRs (30d)
39

Description

### Is your feature request related to a problem? Please describe.

I can't determine whether the parameter value is user-supplied or a default for Boolean type parameters, as they can only be `true` or `false`.

Hence, request to add support for nullable Boolean parameters to enable a tri-state option.

### Describe the solution you'd like.

Nullable Boolean parameters to enable a tri-state option.

The initial value of null, and it is assigned true or false based on user input. Remains as null if that parameter is not provided.

### Additional context

CLI boolean type parameters.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.