Updating documentation

This commit is contained in:
2025-05-14 09:05:54 +02:00
parent bde98e4785
commit 090d869bad

View File

@@ -48,9 +48,9 @@ Which would register squauts, 3 runs of 10 reps of 60kg -- at local time and dat
time, date time or rfc3339 timestamp can be specified: time, date time or rfc3339 timestamp can be specified:
``` ```
train squat 3 10 60 "12:05:00" train report squat 3 10 60 "12:05:00"
train squat 3 10 60 "2025-12-24 18:00:00" train report squat 3 10 60 "2025-12-24 18:00:00"
train squat 3 10 60 "2025-12-24T18:00:00+0200" train report squat 3 10 60 "2025-12-24T18:00:00+0200"
``` ```
The two former will source missing date and timezone information from the user session, i.e. The two former will source missing date and timezone information from the user session, i.e.
@@ -59,9 +59,19 @@ type `date` on your commandline to see what you have.
When travelling you might opt for specifying a specific location on the command line, like: When travelling you might opt for specifying a specific location on the command line, like:
``` ```
TZ=Australia/Sydney train squat 3 10 60 TZ=Australia/Sydney train report squat 3 10 60
``` ```
To insert messages into the graph, use the `messsage` command:
```
train message "Still F55.3"
```
The message command takes time as an optional 2nd arguments, just as the report command.
Grafana Visaulisation Grafana Visaulisation
===================== =====================
@@ -73,6 +83,7 @@ grant select on account to grafana_query;
grant select on training to grafan_query; grant select on training to grafan_query;
grant select on exercise to grafan_query; grant select on exercise to grafan_query;
grant select on dailylist to grafan_query; grant select on dailylist to grafan_query;
grant select on message to grafana_query;
``` ```