grncdr / js-shell-parse

parse bash, with javascript (UNMAINTAINED)
MIT License
90 stars 13 forks source link

Detect valid commands #6

Closed piranna closed 8 years ago

piranna commented 10 years ago

Allow to detect if a command line is valid or malformed

grncdr commented 10 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.