-
-
Notifications
You must be signed in to change notification settings - Fork 763
Open
Labels
state: needs triageWaiting to be triaged by a maintainer.Waiting to be triaged by a maintainer.
Description
Description
Currently, tasks that utilize many variables causes a lot of redundant typing of the required variable
tasks:
MY_TASK_W_LOTS_OF_OPTIONS:
requires: [OPTION_A, OPTION_B, OPTION_C, OPTION_D, OPTION E, OPTION F ......]
cmds:
- make some_recipe A={{.OPTION_A}} B={{.OPTION_B}} C={{.OPTION_C}} D={{.OPTION_D}} E={{.OPTION_E}} F={{.OPTION_F}} .....Desire is to create a global or task level option to require all variables
Possible solutions:
tasks:
MY_TASK_W_LOTS_OF_OPTIONS:
requires: "*"
cmds:
- make some_recipe A={{.OPTION_A}} B={{.OPTION_B}} C={{.OPTION_C}} D={{.OPTION_D}} E={{.OPTION_E}} F={{.OPTION_F}} .....tasks:
MY_TASK_W_LOTS_OF_OPTIONS:
require-all: True
cmds:
- make some_recipe A={{.OPTION_A}} B={{.OPTION_B}} C={{.OPTION_C}} D={{.OPTION_D}} E={{.OPTION_E}} F={{.OPTION_F}} .....Metadata
Metadata
Assignees
Labels
state: needs triageWaiting to be triaged by a maintainer.Waiting to be triaged by a maintainer.