templating icon indicating copy to clipboard operation
templating copied to clipboard

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

Open egvijayanand opened this issue 3 months ago • 2 comments

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.

egvijayanand avatar Oct 01 '25 14:10 egvijayanand

It can be designed to allow optional enabling in the parameter definition, maintaining backward compatibility.

egvijayanand avatar Oct 01 '25 14:10 egvijayanand

@sayedihashimi Requesting your kind attention to this.

egvijayanand avatar Oct 04 '25 09:10 egvijayanand