aboutsummaryrefslogtreecommitdiffstats
path: root/example.py
diff options
context:
space:
mode:
Diffstat (limited to 'example.py')
-rwxr-xr-xexample.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/example.py b/example.py
index ade298e..913c5ec 100755
--- a/example.py
+++ b/example.py
@@ -2,10 +2,17 @@
from confman import ConfigSource
-c = ConfigSource("~/dotfiles", "/tmp/dotfiles-test")
+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)