albs_analytics/build_analytics/run_extractor.py

13 lines
226 B
Python
Raw Normal View History

2023-02-27 19:51:53 +00:00
"""
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)