2021-10-09 12:29:37 +02:00
|
|
|
#! /usr/bin/env python3
|
2021-10-08 23:31:53 +02:00
|
|
|
|
2021-10-09 14:01:50 +02:00
|
|
|
import sys
|
|
|
|
|
2021-10-08 23:31:53 +02:00
|
|
|
import arguments
|
2021-10-10 14:44:22 +02:00
|
|
|
import local
|
2021-10-09 19:46:11 +02:00
|
|
|
import synchronization
|
2021-10-09 12:25:45 +02:00
|
|
|
|
|
|
|
|
2021-10-10 19:02:34 +02:00
|
|
|
def build():
|
2021-10-09 12:25:45 +02:00
|
|
|
# TODO identify
|
|
|
|
print('TODO identify')
|
|
|
|
# TODO extract
|
|
|
|
print('TODO extract')
|
|
|
|
# TODO apply
|
|
|
|
print('TODO apply')
|
|
|
|
# TODO archive
|
|
|
|
print('TODO archive')
|
|
|
|
|
|
|
|
|
2021-10-10 19:02:34 +02:00
|
|
|
def check():
|
2021-10-09 12:25:45 +02:00
|
|
|
# TODO prepare threads
|
|
|
|
print('TODO prepare threads')
|
|
|
|
# TODO run threads
|
|
|
|
print('TODO run threads')
|
|
|
|
# TODO watch threads
|
|
|
|
print('TODO watch threads')
|
|
|
|
|
|
|
|
|
2021-10-10 19:02:34 +02:00
|
|
|
def info():
|
|
|
|
print(local.Local())
|
2021-10-09 12:25:45 +02:00
|
|
|
|
|
|
|
|
2021-10-10 19:02:34 +02:00
|
|
|
def sync():
|
|
|
|
sync = synchronization.Synchronization()
|
2021-10-09 19:46:11 +02:00
|
|
|
print(sync)
|
2021-10-10 13:45:02 +02:00
|
|
|
sync.run()
|
2021-10-08 23:31:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
def main():
|
2021-10-10 19:02:34 +02:00
|
|
|
getattr(sys.modules[__name__], arguments.action)()
|
2021-10-08 23:31:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|