"""Match command line calls to appropriate scripts."""
# standard libs
-from sys import argv, exit as sys_exit
+from sys import argv
# non-standard libs
+from plomlib.setup import dependency_hint
try:
from ytplom.db import DbFile
from ytplom.primitives import HandledException
from ytplom.http import serve
from ytplom.sync import sync
except ModuleNotFoundError as e:
- print(f"Missing dependency: {e}. Please run with 'install_deps' argument.")
- sys_exit(1)
+ dependency_hint(e)
if __name__ == '__main__':