twobraids/configman — pull request #5 by peterbe (2011-10-12 13:20:50+00:00)
Title: Hiding direct use of the Option class

* changing all usage of the class Option to instead be mynamespace.add_option(name[, default_value[, docs]])

* also, the parameter order used to be ``Option.__init__(self, name, doc=None, default=None)`` now it's ``Option.__init__(self, name, default=None, doc=None)`` and the same for ``mynamespace.add_option('name', defaultvalue, docvalue)``

* Also added a __init__ that does a convenience import. Quite a common pattern. Now you can do this:

```
from configman import Namespace, ConfigurationManager
```