aboutsummaryrefslogtreecommitdiffstats
path: root/example.py
blob: 408fb656a338bd94770b416322964587fe76284a (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',
}

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

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

print
from pprint import pprint
pprint(c)