Command line utility for git daily work.
Python3
andpip3
yogit
is tested with Python3.5
,3.6
,3.7
yogit
is mostly tested onLinux
but also works onmacOS
andWindows
(if using Windows Terminal).- For now only GitHub API is supported
pip3 install yogit
yogit account setup
yogit
internal files are stored in ~/.yogit
folder.
yogit
supports auto-completion. To activate it, you need to setup your shell.
- For Bash, edit your
.bashrc
and addeval "$(_YOGIT_COMPLETE=source yogit)"
- For Zsh, edit your
.zshrc
and addeval "$(_YOGIT_COMPLETE=source_zsh yogit)"
yogit
is able to:
- Show pull requests
- Show pull request reviews
- Show branches
- Show contributions
- Show organization's information
- Help in writing a daily scrum report
See documentation below for more details.
yogit --help
yogit account setup
: Setup yogit
yogit account usage
: Account API usage
yogit pr list [--orga TEXT]
: List your opened pull requests. If --orga
is provided, results will be expanded to this specific organization.
yogit review list
: List your reviews on opened pull requests
yogit review requested [--missed]
: List pull requests where your review is requested. If --missed
is set, only closed pull requests will be listed.
yogit branch list [--dangling]
: List your branches. If --dangling
is set, only branches without associated pull request will be listed.
yogit contrib list [--from TEXT] [--to TEXT]
: List your GitHub contributions within a range of dates.
A contribution is either a pull request or pull request review.
By default this command is listing today's contributions.
yogit contrib stats
: Show some GitHub statistics.
yogit orga list
: List organizations you belong to.
yogit orga member list [--orga TEXT]
: List members of one organization you belong to.
yogit orga member pickone [--orga TEXT]
: Randomly pick one member of one organization you belong to.
yogit scrum report [--date TEXT]
: Generate your daily activity report
Template of the report can be changed by editing ~/.yogit/scrum_report.yaml
You might need to install xcopy
to fully enjoy this command.