-
-
Notifications
You must be signed in to change notification settings - Fork 749
Labels
area: uiChanges related to the UI of Task.Changes related to the UI of Task.
Description
Description
With a task like the following:
version: '3'
tasks:
deploy:
cmds:
- echo "deploying to {{.ENV}}"
requires:
vars:
- name: ENV
enum: [dev, beta, prod]The following error will be shown when the required variable is missing:
task: Task "deploy" cancelled because it is missing required variables: ENV
When an enum is set like here, it would be great if the allowed values would be shown in the error. This way the user doesn't have to look into the Taskfile to see what values are allowed in situations where this isn't obvious.
Metadata
Metadata
Assignees
Labels
area: uiChanges related to the UI of Task.Changes related to the UI of Task.