wp-cli/wp-cli — pull request #94 by mwilliamson-red-gate (2012-04-10 16:10:34+00:00)
Title: Allow directory with extra commands to be specified

So far as I can tell, there's currently no mechanism to specify an additional directory that wp-cli can read commands out of. So, if you write your own command, you have to maintain a branch of wp-cli with the extra command in `src/php/wp-cli/commands/{community|internals}`.

This patch adds an extra command line argument, `--extra_command_dir`, which specifies an additional directory storing commands. The name of the argument isn't particularly succinct, but I couldn't think of anything better.