visionmedia/commander.js — pull request #41 by Shogun147 (2012-01-08 21:25:06+00:00)
Title: Changed choose method so it can now return a default item if none is spe...

By default the first item is set as default, but another one can be set by adding ">" as it's prefix.
If is set an index higher than items count than again() is called.

Ex:
items = ['one', 'two', 'three', 'four', 'five']; // will return 'one' if none is specified
items = ['one', 'two', 'three', '>four', 'five']; // will return 'four' as default