#!/usr/bin/python3
"""hugpy drives: the poller and readers of the drives kernel log (drives_log.py beside this file).

    hugpy-drives run [--db PATH] [--interval S] [--filesystem-every N] [--keep-s S]
    hugpy-drives once | view | read | capability [--db PATH]
"""
import os
import sys

sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
import drives_log  # noqa: E402

if __name__ == '__main__':
    try:
        sys.exit(drives_log.main())
    except KeyboardInterrupt:
        sys.exit(130)
