github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/modtests/0007/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        -
    14          func: call
    15          do: Say_world
    16  
    17    -
    18      name: Say_world
    19      task:
    20        -
    21          func: cmd
    22          do:
    23            -
    24              name: print
    25              cmd: " .... world from Say_world"