gobm65.go
changeset 17 d83a4f6556e4
parent 16 c64c730a7b16
child 18 f6646f63b11a
equal deleted inserted replaced
16:c64c730a7b16 17:d83a4f6556e4
    25 //
    25 //
    26 // Display the latest 3 records with the average:
    26 // Display the latest 3 records with the average:
    27 // % gobm65 -l 3 --average
    27 // % gobm65 -l 3 --average
    28 // Display all records since a specific date:
    28 // Display all records since a specific date:
    29 // % gobm65 --since "2016-06-01"
    29 // % gobm65 --since "2016-06-01"
       
    30 // Display all records before a specific date:
       
    31 // % gobm65 --before "2016-06-30"
    30 // Display all records of the last 7 days:
    32 // Display all records of the last 7 days:
    31 // % gobm65 --since "$(date "+%F" -d "7 days ago")"
    33 // % gobm65 --since "$(date "+%F" -d "7 days ago")"
    32 //
    34 //
    33 // Display statistics for morning records:
    35 // Display statistics for morning records:
    34 // % gobm65 --from-time 06:00 --to-time 12:00 --stats
    36 // % gobm65 --from-time 06:00 --to-time 12:00 --stats