kennethreitz/legit — pull request #74 by wiseman (2012-06-16 21:20:06+00:00)
Title: Consolidate command definitions and show short help text when listing commands.

Hi, Kenneth. Nice work with legit.

I was constantly having to refer back to the github readme page to figure out the name of the command I wanted to use, so I modified legit to show usage and a short piece of help text for each command when it lists commands (like when you do `legit -h`).

More details:

Define command name, implementation function, short names, usage info,
and help text in one place.

Show short help text for each command when we show a list of commands.

Adds usage and help text to the `harvest`, `install` and `settings`
commands.

Also shows an error message if you try to use a non-existent command.