composer/composer — pull request #1113 by ebernhardson (2012-09-16 07:58:29+00:00)
Title: Require command to perform a search if no version information is provided

When using the composer require command, if you dont provide a version currently it asks you for one. In some cases the user may not know the version they want. This pull request adjusts the console command so that if the user provides no input when asked about a version a search is done, and the user can choose one of the results.