Warning Prompts
Learn how to use warning prompts in Taskfile to manage task execution and user interaction.
You can prompt the user for confirmation before running a task by using the prompt
field in the Taskfile. This is useful for tasks that might have significant consequences, such as deleting files or making changes to a production environment.
- the
prompt
field can be a list as well.