#!/usr/bin/env python
"""
Backwards-compatible wrapper script.

The recommended way to run github-backup is via the installed command
(pip install github-backup) or python -m github_backup.

This script is kept for backwards compatibility with existing installations
that may reference this path directly.
"""

import sys

from github_backup.cli import main
from github_backup.github_backup import logger

if __name__ == "__main__":
    try:
        main()
    except Exception as e:
        logger.error(str(e))
        sys.exit(1)
