openshift/rhc — pull request #120 by J5 (2012-08-13 18:25:14+00:00)
Title: ** DO NOT MERGE ** Command refactor

* added new context argument which can gather context from a callback
* all new argument filling and validation algorithm which takes into account context args
* move argument filling out of command.rb and into commands/base.rb
* args are now processed after we instantiate the command, by the command itself
* added an old_namespace contextual argument to 'domain update' to demonstrate how to use contextual arguments
* In a few lines of code change 'domain update' is now ready to handle multiple domains without breaking backwards compatibility with single domains (old_namespace argument is optional)