composer/composer — pull request #698 by wilmoore (2012-05-16 08:47:09+00:00)
Title: Adds a shell command completion helper

- includes a new "CompletionCommand.php" file
- adds the CompletionCommand to the Application.php list of commands
- provides a help message that shows how to use the `completion` command
- outputs a list of commands for use with the bash `complete` command

Limitation(s)

- did not yet create a ZSH version

```
% php composer.phar help completion
Usage:
completion

Help:
Command Completion for Composer:
complete -W "$(php composer.phar completion)" composer
```

```
% composer
about create-project depends help init install list search self-update show update validate
```