diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2023-02-25 23:29:59 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-25 23:29:59 +0000 |
| commit | c558da5bebfebf239dde867f36cc35d56849accf (patch) | |
| tree | 2e75e2c479fa1d89632eafd8119e084243bafa5e /docs/stats.md | |
| parent | Revert "Remove shortcut numbers (#708)" (#724) (diff) | |
| download | atuin-c558da5bebfebf239dde867f36cc35d56849accf.zip | |
Add fancy web docs (#725)
* Add initial site
* WIP again
* Replace docs with web docs
* Bring back translations
* Update README.md
* remove images
Diffstat (limited to 'docs/stats.md')
| -rw-r--r-- | docs/stats.md | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/docs/stats.md b/docs/stats.md deleted file mode 100644 index b6834167..00000000 --- a/docs/stats.md +++ /dev/null @@ -1,50 +0,0 @@ -# `atuin stats` - -Atuin can also calculate stats based on your history - this is currently a -little basic, but more features to come. - -## 1-day stats - -You provide the starting point, and Atuin computes the stats for 24h from that point. -Date parsing is provided by `interim`, which supports different formats -for full or relative dates. Certain formats rely on the dialect option in your -[configuration](config.md#dialect) to differentiate day from month. -Refer to [the module's documentation](https://docs.rs/interim/0.1.0/interim/#supported-formats) for more details on the supported date formats. - -``` -$ atuin stats last friday - -+---------------------+------------+ -| Statistic | Value | -+---------------------+------------+ -| Most used command | git status | -+---------------------+------------+ -| Commands ran | 450 | -+---------------------+------------+ -| Unique commands ran | 213 | -+---------------------+------------+ - -# A few more examples: -$ atuin stats 2018-04-01 -$ atuin stats April 1 -$ atuin stats 01/04/22 -$ atuin stats last thursday 3pm # between last thursday 3:00pm and the following friday 3:00pm -``` - -## Full history stats - -``` -$ atuin stats -# or -$ atuin stats all - -+---------------------+-------+ -| Statistic | Value | -+---------------------+-------+ -| Most used command | ls | -+---------------------+-------+ -| Commands ran | 8190 | -+---------------------+-------+ -| Unique commands ran | 2996 | -+---------------------+-------+ -``` |
