github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/functests/c0001.yml (about)

     1  doc_meta: |
     2    folder: quick-start
     3    title: First task - hello world
     4    head: |
     5      Welcome to this first quick start guide of up cmd, this shows a hello world type of UP task
     6  
     7    sections:
     8      - title: Intro
     9        content: |
    10          A UP task file is composed of tasks, a task is composed of a sequential steps, a step is function call implementation of function, for example, shell
    11  
    12      - title: Demo
    13        log: yes
    14  
    15  notes:
    16    goal: to test using a simpler model of data structure for tasks using array
    17    why: array will allow you to put more attribute so that you can put desc
    18  
    19  tasks:
    20    -
    21      name: task
    22      desc: say hello world in shell
    23      task:
    24        -
    25          func: shell
    26          desc: do step1 in shell func
    27          do:
    28            - echo "hello"
    29            - echo "world"