#!/usr/bin/env python
"""Monitor the Bibliotheca collections by asking about recently changed events."""
import os
import sys
bin_dir = os.path.split(__file__)[0]
package_dir = os.path.join(bin_dir, "..")
sys.path.append(os.path.abspath(package_dir))
from core.scripts import RunCollectionMonitorScript
from api.bibliotheca import BibliothecaEventMonitor
RunCollectionMonitorScript(BibliothecaEventMonitor, cli_date=sys.argv[1:2]).run()
