github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/functests/c0003.yml (about) 1 doc_meta: | 2 folder: quick-start 3 title: Yaml literal 4 head: A example to show using yaml string literal to execute multiple line of shell script 5 6 sections: 7 - title: Demo 8 log: yes 9 10 notes: 11 goal: 12 - to test the shell function can handle do but without using array 13 14 tasks: 15 - 16 name: task 17 desc: this is task1 18 task: 19 - 20 func: shell 21 desc: do step1 in shell func 22 do: | 23 echo "hello" 24 echo "world"