Conditionally hide need
My use case is to conditionally hide a need.
My first attempt was to use the :hide: option in conjunction with a dynamic function so that I can hide/show needs based on some conditions. Mixed with the need_global_options it is a perfect solution for my use case.
So I give it a try but unfortunately, the hide option does not accept a True/False value. Would it be possible to consider accepting a boolean ? I guess internally it is backed by a boolean, I just want to be able to set it manually instead of having an error message telling no attribute can be set for this option.
Or is there any possibility to conditionally set the hide option to a need ? For example in the need_global_options I could set the condition to apply or not the option on needs.