Closed piranna closed 8 years ago
Have you looked at https://github.com/grncdr/js-shell-parse/blob/master/tests/partial-line.js ? I also just added https://github.com/grncdr/js-shell-parse/blob/master/tests/parse-error.js, and would definitely be interested in PRs that add more examples there.
Allow to detect if a command line is valid or malformed