1 2 3 4 5 6 7 8 9 10 11 12 13
def cmd [ a1 a2 --flag (-f) a3? # arg3 a4? ...arg_rest ] { } ls | cmd 1 $nu -f ( cmd 1 2 ) ...[(cmd 1 2)]