commit-report 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,7 +8,14 @@ Git 提交统计工具,递归扫描目录中的 Git 仓库,生成可视化 H
8
8
 
9
9
  ## 预览
10
10
 
11
- 查看 [示例报告](https://github.com/qqzhangyanhua/commitx#readme) 了解可视化效果。
11
+ ### 主界面
12
+ ![主界面](docs/image.png)
13
+
14
+ ### 数据统计
15
+ ![数据统计](docs/image%20copy.png)
16
+
17
+ ### 高级分析
18
+ ![高级分析](docs/image%20copy%202.png)
12
19
 
13
20
  ## 特性
14
21
 
@@ -31,7 +38,7 @@ npx commit-report
31
38
  ## 使用
32
39
 
33
40
  ```bash
34
- # 默认:扫描当前目录,统计最近 3 个月
41
+ # 默认:扫描当前目录
35
42
  commit-report
36
43
 
37
44
  # 指定时间预设
@@ -60,7 +67,7 @@ commit-report --no-open
60
67
 
61
68
  | 参数 | 缩写 | 默认值 | 说明 |
62
69
  |------|------|--------|------|
63
- | `--period` | `-p` | `3m` | 时间预设 (7d/1m/3m/6m/1y) |
70
+ | `--period` | `-p` | `all` | 时间预设 (7d/1m/3m/6m/1y/all) |
64
71
  | `--from` | `-f` | - | 起始日期 (YYYY-MM-DD) |
65
72
  | `--to` | `-t` | - | 结束日期 (YYYY-MM-DD) |
66
73
  | `--author` | `-a` | - | 过滤作者 |