basho/riak_core — pull request #658 by mrallen1 (2014-12-04 18:13:43+00:00)
Title: Centralize CLI registration

Provide a mechanism to centralize riak_cli command and usage registration.

Modules should implement their own `register_cli/0` functions and then
add the module name(s) to the list defined in the `?CLI_MODULES`
macro.

The risk_core_cli_registry:register_cli/0 function is called from
`riak_core_app:start/2` around line 104.