1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/usr/bin/env python from confman import ConfigSource options = \ { 'tags': ['desktop'], 'hostname': 'test', } c = ConfigSource("~/dotfiles", "/tmp/dotfiles-test", None, options) c.analyze() c.check() c.sync() print from pprint import pprint pprint(c)