ngs-lang / ngs

Next Generation Shell (NGS)
https://ngs-lang.org/
GNU General Public License v3.0
1.45k stars 41 forks source link

Convenient way to pass "rest" command line arguments to main() #570

Closed ilyash-b closed 2 years ago

ilyash-b commented 2 years ago

Invalid. Already works.

$ ngs -e 'F main(a, *rest) echo(rest)' aa bb cc
[bb,cc]