mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-22 16:23:54 +01:00
e05c19d0ff
* Add Chinese documentation translation * Fix spelling mistakes
36 lines
956 B
Markdown
36 lines
956 B
Markdown
# `atuin stats`
|
|
|
|
Atuin 还可以根据你的历史记录进行计算统计数据 - 目前这只是一个小的基本功能,但更多功能即将推出
|
|
|
|
```
|
|
$ atuin stats day last friday
|
|
|
|
+---------------------+------------+
|
|
| Statistic | Value |
|
|
+---------------------+------------+
|
|
| Most used command | git status |
|
|
+---------------------+------------+
|
|
| Commands ran | 450 |
|
|
+---------------------+------------+
|
|
| Unique commands ran | 213 |
|
|
+---------------------+------------+
|
|
|
|
$ atuin stats day 01/01/21 # 也接受绝对日期
|
|
```
|
|
|
|
它还可以计算所有已知历史记录的统计数据。
|
|
|
|
```
|
|
$ atuin stats all
|
|
|
|
+---------------------+-------+
|
|
| Statistic | Value |
|
|
+---------------------+-------+
|
|
| Most used command | ls |
|
|
+---------------------+-------+
|
|
| Commands ran | 8190 |
|
|
+---------------------+-------+
|
|
| Unique commands ran | 2996 |
|
|
+---------------------+-------+
|
|
```
|