github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/modtests/0010/hello-module/up.yml (about)

     1  
     2  tasks:
     3    -
     4      name: Main
     5      desc: main entry
     6      task:
     7        -
     8          func: shell
     9          desc: main job
    10          do:
    11            - echo "hello "
    12    -
    13      name: Say_hello
    14      task:
    15        -
    16          func: cmd
    17          vars:
    18            a: aaa
    19          do:
    20            - name: print
    21              cmd: "... hello"
    22  
    23        -
    24          func: call
    25          do: hi-module.Say_hi
    26