aboutsummaryrefslogtreecommitdiffstats
path: root/docs-i18n/zh-CN/stats.md
diff options
context:
space:
mode:
authorMichelle Tilley <michelle@michelletilley.net>2025-12-12 14:47:24 -0800
committerGitHub <noreply@github.com>2025-12-12 14:47:24 -0800
commit2ba93a8c18ca008efb0b03e3cfa826e081a00514 (patch)
treeb408f74c07d6270cb1618fcff932e94eebdef28d /docs-i18n/zh-CN/stats.md
parentfix: prevent interactive search crash when update check fails (#3016) (diff)
downloadatuin-2ba93a8c18ca008efb0b03e3cfa826e081a00514.zip
docs: Migrate docs from separate repo to `docs` subfolder (#3018)
Diffstat (limited to 'docs-i18n/zh-CN/stats.md')
-rw-r--r--docs-i18n/zh-CN/stats.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/docs-i18n/zh-CN/stats.md b/docs-i18n/zh-CN/stats.md
new file mode 100644
index 00000000..2bf557ba
--- /dev/null
+++ b/docs-i18n/zh-CN/stats.md
@@ -0,0 +1,35 @@
+# `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 |
++---------------------+-------+
+```