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

     1  doc_meta: |
     2    folder: shell-func
     3    title: support user input
     4    head: |
     5      If there is user input in the script, it will prompt user for input
     6  
     7  tasks:
     8    -
     9      name: task
    10      task:
    11        -
    12          func: shell
    13          do:
    14            - |
    15              echo "Hello, who am I talking to? your name:"
    16              read varname
    17              echo "It's nice to meet you, $varname"