An extension to node.js readline that reads and parses multi-line shell commands