#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (C) 2015-2016, 2026 InterGenJLU
"""chronicle — the Chronicle backup command-line client (spec §11).

Thin entrypoint: the implementation lives in chronicle/cli.py so it is
importable + unit-testable. Installed as /usr/libexec/chronicle/chronicle-cli
and launched via the /usr/bin/chronicle wrapper.
"""

import os
import sys

sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))

from chronicle import cli  # noqa: E402

if __name__ == "__main__":
    sys.exit(cli.main())
