@morione/git-report

1.0.12 • Public • Published

git-report

The Command tool display the commit score from a specific local git repository. The score is calculated based on git history data (number of commits, number of files added and removed, commit complexity). Author scores, commits and other information are exported in XLSX format. Exported data can be generated at intervals into separated sheets.

npm version MIT License Downloads FOSSA Status

Install

npm install @morione/git-report

Usage

Basic usage will generate xlsx document for defined local repository path.

npx @morione/git-report  [local path to repository]

Usage with all params will generate xlsx document (named by defined name [reportFileName]) from the git history using a start date [since] and end date [until]. The generated data will be ranged by defined weeks [springDuration].

npx @morione/git-report [local path to repository] \
 --since 2023-01-04 --until 2023-05-12 \
 --sprintDuration 2 \
 --reportFileName "/tmp/eza-be.xlsx" \
 --sprintOffset=8

Package Sidebar

Install

npm i @morione/git-report

Weekly Downloads

1

Version

1.0.12

License

MIT

Unpacked Size

13 kB

Total Files

8

Last publish

Collaborators

  • morione