mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
feat: allow providing single or multi prompts (#1866)
* Add new type to handle single or multi prompts * update docs * apply review
This commit is contained in:
7
testdata/prompt/Taskfile.yml
vendored
7
testdata/prompt/Taskfile.yml
vendored
@@ -14,3 +14,10 @@ tasks:
|
||||
prompt: Do you want to continue?
|
||||
cmds:
|
||||
- echo 'show-prompt'
|
||||
|
||||
multi-prompt:
|
||||
prompt:
|
||||
- Do you want to continue?
|
||||
- Are you sure?
|
||||
cmds:
|
||||
- echo 'multi-prompt'
|
||||
|
Reference in New Issue
Block a user