1 | |
2 | Command Language <a class="group-link" href="chap-cmd-lang.html">cmd-lang</a> |
3 | |
4 | |
5 | [YSH Simple] typed-arg json write (x) |
6 | lazy-expr-arg assert [42 === x] |
7 | block-arg cd /tmp { echo $PWD }; cd /tmp (; ; blockexpr) |
8 | [YSH Cond] ysh-case case (x) { *.py { echo 'python' } } |
9 | ysh-if if (x > 0) { echo } |
10 | [YSH Iter] ysh-for for i, item in (mylist) { echo } |
11 | ysh-while while (x > 0) { echo } |