Some checks failed
CI / Lint & Check (push) Failing after 12s
Split monolithic gitea-ci.py (3068 lines) into modular package: - src/gitea_ci/config.py: configuration, constants - src/gitea_ci/api.py: GiteaAPI class - src/gitea_ci/formatters.py: output formatting - src/gitea_ci/utils.py: utilities, validation - src/gitea_ci/commands/: command implementations - src/gitea_ci/cli.py: argument parser, dispatch gitea-ci.py now thin wrapper (16 lines)
17 lines
373 B
Python
Executable File
17 lines
373 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""Gitea CI - Monitor and manage Gitea Actions workflows.
|
|
|
|
This is a thin wrapper that imports the package from src/gitea_ci.
|
|
"""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
# Add src to path for package import
|
|
sys.path.insert(0, str(Path(__file__).resolve().parent / "src"))
|
|
|
|
from gitea_ci.cli import main
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|