Rewrite command definer to use a closure instead of bringing a class into scope
Rewrite command definer to use a closure instead of bringing a class
into scope

Requires https://github.com/wp-cli/wp-cli/pull/2373

diablodale/restful,diablodale/restful