From 090d869badae97e921986ac7b7953ca2090b8411 Mon Sep 17 00:00:00 2001 From: Jakob Dalsgaard Date: Wed, 14 May 2025 09:05:54 +0200 Subject: [PATCH] Updating documentation --- readme.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 6b6a315..32a6600 100644 --- a/readme.md +++ b/readme.md @@ -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: ``` -train squat 3 10 60 "12:05:00" -train 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 "12:05:00" +train report squat 3 10 60 "2025-12-24 18:00:00" +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. @@ -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: ``` -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 ===================== @@ -73,6 +83,7 @@ grant select on account to grafana_query; grant select on training to grafan_query; grant select on exercise to grafan_query; grant select on dailylist to grafan_query; +grant select on message to grafana_query; ```