mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-25 09:44:03 +01:00
156893d774
* Begin moving to sqlx for local too * Stupid scanners should just have a nice cup of tea Random internet shit searching for /.env or whatever * Remove diesel and rusqlite fully
37 lines
939 B
Markdown
37 lines
939 B
Markdown
# `atuin stats`
|
|
|
|
Atuin can also calculate stats based on your history - this is currently a
|
|
little basic, but more features to come
|
|
|
|
```
|
|
$ 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 # also accepts absolute dates
|
|
```
|
|
|
|
It can also calculate statistics for all of known history:
|
|
|
|
```
|
|
$ atuin stats all
|
|
|
|
+---------------------+-------+
|
|
| Statistic | Value |
|
|
+---------------------+-------+
|
|
| Most used command | ls |
|
|
+---------------------+-------+
|
|
| Commands ran | 8190 |
|
|
+---------------------+-------+
|
|
| Unique commands ran | 2996 |
|
|
+---------------------+-------+
|
|
```
|