aboutsummaryrefslogtreecommitdiffstats
path: root/example.py
blob: 78f515fd9b3fee6e5469a5fde86acf62f9afc6d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python
from confman import ConfigSource

options = {
    'tags': ['desktop'],
    'hostname': 'test',
}

from os import path
samples_path = path.join(path.dirname(__file__), 'samples')

c = ConfigSource(samples_path, "/tmp/dotfiles-test", None, options)
c.sync()

print
print repr(c)