aboutsummaryrefslogtreecommitdiffstats
path: root/example.py
blob: 913c5ecddb812feab7f33d970bb51cdfcca7fe41 (plain)
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)