Skip to content

Instantly share code, notes, and snippets.

@bmeck
Created December 2, 2011 21:19
Show Gist options
  • Save bmeck/1424874 to your computer and use it in GitHub Desktop.
Save bmeck/1424874 to your computer and use it in GitHub Desktop.
process.on('uncaughtException', function() {console.error(arguments)});
prompt = require('./');
prompt.start();
prompt.get(['x','y'], function () {console.error('!',arguments)})
echo -e '1\n2\n' | node example.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment