rust-lang/cargo — pull request #316 by xanxys (2014-08-04 07:38:39+00:00)
Title: Implements subcommands enumeration #270

Invoking cargo with new "--list" option now shows list of installed subcommands.

p.s.
The code is less functional-style than I'd like it to be. Please let me know if there are smarter ways to write them.