archivist/archivist.py

12 lines
227 B
Python
Raw Normal View History

2020-03-21 16:41:49 +00:00
#!/usr/bin/env python
import sys, logging
from archivist import Archivist
2020-03-21 16:41:49 +00:00
command = sys.argv[1] if len(sys.argv) > 1 else "backup"
source = sys.argv[2] if len(sys.argv) > 2 else "all"
a = Archivist()
a.run(command, source)
2020-03-21 16:41:49 +00:00