|
1 | | -Create git activities from your commits. |
| 1 | +Keep your git statistics with post-commit hook. |
2 | 2 |
|
3 | 3 | --- |
4 | 4 |
|
@@ -49,23 +49,20 @@ $ tree |
49 | 49 | └── log.yaml |
50 | 50 |
|
51 | 51 | # Example generated file content after some commits |
52 | | -$ cat 2023/01/02/log.java |
53 | | -System.out.println("7 insertion(s), 2 deletion(s)"); |
54 | | -System.out.println("59 insertion(s), 6 deletion(s)") |
55 | | -System.out.println("9 insertion(s), 1 deletion(s)"); |
| 52 | +$ cat 2023/01/02/log.go |
| 53 | +fmt.Println("02:42 24 insertion(s), 7 deletion(s)") |
| 54 | +fmt.Println("03:39 83 insertion(s), 11 deletion(s)") |
| 55 | +fmt.Println("03:41 67 insertion(s), 20 deletion(s)") |
56 | 56 | ``` |
57 | 57 |
|
58 | 58 | #### TODO |
| 59 | +- [x] file type overwriting (`jsx=js`) |
| 60 | +- [x] content template with config |
| 61 | +- [ ] filename template with config |
| 62 | +- [ ] excluding file extensions |
| 63 | +- [ ] separating stat dirs like `personal/`, `work/` |
| 64 | +- [ ] custom vars in params and templates(`-vars="project=foo-api-gateway"`) |
59 | 65 |
|
60 | | -- [ ] Write better readme |
61 | | -- [ ] File stat aliases: `yaml=yml,java=gradle,xml,properties` |
62 | | -- [ ] commit, filename templates with config |
63 | | -```shell |
64 | | --vars="project=foo-api-gateway" |
65 | | -log_format="{project}: {insert_count} insertion(s), {delete_count} deletion(s)" |
66 | | -``` |
67 | | -- [ ] Funny commit messages |
68 | | -- [ ] Create os packages for homebrew,apt etc. |
69 | 66 | ---- |
70 | 67 |
|
71 | 68 | License: MIT |
0 commit comments