Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
configs/templates.json
configs/config.ini
configs/config.ini
__pycache__/
*.py[cod]
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,29 @@ Add following line to your `.bashrc` or `.zshrc` file

Run `source ~/.zshrc` or restart terminal.

## Project structure

The legacy `gitHappens.py` file is kept as the executable entrypoint, but the implementation now lives in a small package:

```
githappens/
main.py # CLI argument parsing and command routing
config.py # config.ini and templates.json loading
gitlab_api.py # GitLab API and glab calls
git_utils.py # local git helpers
interactive.py # inquirer prompts and selectors
templates.py # issue template selection
commands/
create_issue.py # issue, branch, and merge request creation
open_mr.py # active merge request lookup and browser opening
review.py # review, reviewer, and time tracking commands
report.py # incident report command
deploy.py # production deployment lookup
summary.py # git summary commands
```

This split keeps the old alias working while making command behavior easier to test and extend.

## Usage ⚡

### Project selection
Expand Down
Loading