11 lines
227 B
Python
Executable file
11 lines
227 B
Python
Executable file
#!/usr/bin/env python
|
|
|
|
import sys, logging
|
|
from archivist import Archivist
|
|
|
|
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)
|
|
|