-
-
Notifications
You must be signed in to change notification settings - Fork 844
Conditional inclusions #2880
Copy link
Copy link
Open
Labels
state: awaiting responseWaiting for issue author to respond.Waiting for issue author to respond.state: needs triageWaiting to be triaged by a maintainer.Waiting to be triaged by a maintainer.
Metadata
Metadata
Assignees
Labels
state: awaiting responseWaiting for issue author to respond.Waiting for issue author to respond.state: needs triageWaiting to be triaged by a maintainer.Waiting to be triaged by a maintainer.
Type
Fields
Give feedbackNo fields configured for support.
Description
There is a nice little feature that you support currently is preconditions.
e.g.
It would be cool to apply this to an include. For example, so I can how some tasks apply only to the task when running inside a devcontainer. Or alternatively outside a devcontainer.
Or apply to whatever precondition you define.
e.g.
Unless you have a better alternative idea or is there something I can do to make this work regardless?
And why would I want to do this you ask?
Well in situations like these:
I'd like to hide the "dev" option or make it not even available or even show up in the help if the precondition is false.