-
Notifications
You must be signed in to change notification settings - Fork 4
/
c0101.yml
50 lines (39 loc) · 894 Bytes
/
c0101.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
doc_meta: |
folder: test-debug
title: pause and inspect
head: |
pause cmd is mainly for debugging purpose, you can use it inspect internal exec runtime vars
sections:
- title: How to use
content: |
during the runtime, if a pause cmd is executed, then it will pause to give a user prompt:
```
Enter Value For pause action to continue:
enter: continue
q: quit
i: inspect
```
You can hit enter to continue, or q to quite, or i to inspect the runtime exec vars
- title: Demo
log: yes
notes:
goal:
- add pause cmd
tasks:
-
name: task
task:
-
func: cmd
do:
- name: print
cmd: hello
-
func: cmd
do:
- name: pause
-
func: cmd
do:
- name: print
cmd: world