I created this cli to generate my daily work report at office. Must follow these four steps for generating your work report.
-
Installation (npm/yarn):
npm i -g reportgen
yarn add global reportgen
-
Firstly, you have to be in the directory of the project and that directory must be connected with github.
-
Your git commits will be used for generating the report. That's why you have to write your commits like this.
git commit -m "Task title: Task description."
-
Run this command to generate your work report in pdf format.
reportgen --pname="your project name"
If you want to customize the pdf then clone this repo and then go to ./src/writeHtml.js
. Then prepare that HTML however you want.