Smos Logo Smos

A comprehensive self-management system

Using smos-query

Documentation about the smos-query clock command, for showing where you have spent your time

The clock report shows you an overview of the clocking that you have done for each entry in a nice forest-shaped overview.



Usage: smos-query clock [FILTER] 
                        [[--begin LOCALTIME] [--end LOCALTIME] | --yesterday | 
                          --today | --tomorrow | --last-week | --this-week | 
                          --next-week | --last-month | --this-month | 
                          --next-month | --last-year | --this-year | 
                          --next-year | --all-time] 
                        [--day-block | --week-block | --month-block | 
                          --year-block | --one-block] 
                        [--pretty | --yaml | --json | --pretty-json] 
                          [--seconds-resolution | --minutes-resolution | 
                            --hours-resolution] |
                          [--quarters-resolution | --resolution | 
                            --hours-resolution]] [--forest | --flat] 
                        [--hide-archived | (-a|--show-archived)]
  Print the clock table

Available options:
  FILTER                   A filter to filter entries by
  --begin LOCALTIME        start time (inclusive)
  --end LOCALTIME          end tiem (inclusive)
  --yesterday              yesterday
  --today                  today
  --tomorrow               tomorrow
  --last-week              last week
  --this-week              this week
  --next-week              next week
  --last-month             last month
  --this-month             this month
  --next-month             next month
  --last-year              last year
  --this-year              this year
  --next-year              next year
  --all-time               all time
  --day-block              blocks of one day
  --week-block             blocks of one week
  --month-block            blocks of one month
  --year-block             blocks of one year
  --one-block              a single block
  --pretty                 pretty text
  --yaml                   Yaml
  --json                   single-line JSON
  --pretty-json            pretty JSON
  --hide-archived          ignore archived files.
  -a,--show-archived       Don't ignore archived files.
  -h,--help                Show this help text


This command does not use any extra environment variables.


This command admits no extra configuration.