albs_analytics/build_analitycs/run_extractor.py
2023-02-27 20:51:53 +01:00

13 lines
226 B
Python

"""
extractor startup script
"""
import sys
from build_analytics.extractor.start import start
try:
YAML_PATH = sys.argv[1]
except IndexError:
print(f"Usage: {sys.argv[0]} config.yml")
sys.exit(1)
start(YAML_PATH)