Why not use a node module for this? I know `commander` has the `prompt` command baked into it.