16 lines
380 B
Python
Executable File
16 lines
380 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""Executable launcher for linux-backuper."""
|
|
|
|
import os
|
|
import sys
|
|
|
|
# Ensure library path is discoverable when run directly from repo
|
|
repo_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
if repo_root not in sys.path:
|
|
sys.path.insert(0, repo_root)
|
|
|
|
from linux_backuper.cli import main
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|