Skip to content

Refactor CLI into modular architecture#148

Open
sailxjx wants to merge 1 commit into
zigcBenx:masterfrom
sailxjx:refactor-modular-architecture
Open

Refactor CLI into modular architecture#148
sailxjx wants to merge 1 commit into
zigcBenx:masterfrom
sailxjx:refactor-modular-architecture

Conversation

@sailxjx
Copy link
Copy Markdown

@sailxjx sailxjx commented May 12, 2026

Summary

  • Split the monolithic gitHappens.py into focused modules for config loading, Git helpers, GitLab API integrations, template handling, interactive prompts, and command workflows.
  • Kept gitHappens.py as the CLI entry point and preserved the existing command dispatch behavior.
  • Added basic pytest coverage for the extracted modules and documented the new project structure and test command in the README.

Testing

  • .venv/bin/python -m pytest
  • .venv/bin/python -m py_compile gitHappens.py config.py git_utils.py gitlab_api.py templates.py interactive.py commands/*.py ai_code_review.py
  • .venv/bin/python gitHappens.py --help

Closes #116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor monolithic gitHappens.py into modular architecture

1 participant