/git-tools

CLI tools that help you to automate some routine operations

Primary LanguagePythonMIT LicenseMIT

git-tools

CLI tools that help you to automate some routine operations

License MIT Python Best distro ever

Install

.deb package will be coming soon, sorry, for now, you may just clone this repository.

Config

  1. Go to your profile settings and create new access token with repo scope.

  2. Then store this token to config file:

python3 daily-report.py --store-token <token>
  1. and add repositories names, for which you will need reports, into config file:
python3 daily-report.py --store-repository <username/repository>

Use

daily-report.py
# show your daily activity on GitHub for today
python3 daily-report.py

# show activity for the specific date
python3 daily-report.py --date 2018-11-25
purge-branches.py
# show branches (and doesn't do any changes) that has been merged to master and can be cleaned
python3 purge-branches.py --dry-run

# clear repository from unnecessary branches
python3 purge-branches.py

Contribute

Contributions are welcome. Have new ideas? please open new Feature request. If you find any bugs, please open Bug report in order to report it.

If you consider to contribute, you are awesome! See project wiki for instructions.