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.

Reference

Arguments

Usage: smos-query clock [FILTER] 
                        [[--begin DAY] [--end DAY] | --yesterday | --today | 
                          --tomorrow | --last-week | --past-week | --this-week |
                          --coming-week | --next-week | --last-month | 
                          --past-month | --this-month | --coming-month | 
                          --next-month | --last-year | --past-year | 
                          --this-year | --coming-year | --next-year | 
                          --all-time] 
                        [--day-block | --week-block | --month-block | 
                          --year-block | --one-block] 
                        [--pretty | --yaml | --json | --pretty-json] 
                        [--temporal-resolution 
                          [--seconds-resolution | --minutes-resolution | 
                            --hours-resolution] |
                          --decimal-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 DAY              start date (inclusive)
  --end DAY                end time (inclusive)
  --yesterday              yesterday
  --today                  today
  --tomorrow               tomorrow
  --last-week              last week
  --past-week              the past week
  --this-week              this week
  --coming-week            the coming week
  --next-week              next week
  --last-month             last month
  --past-month             the past month
  --this-month             this month
  --coming-month           the coming month
  --next-month             next month
  --last-year              last year
  --past-year              the past year
  --this-year              this year
  --coming-year            the coming 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

Global options:
  --config-file FILE_PATH  The config file to use
  --workflow-dir DIRECTORY_PATH
                           The workflow directory to use
  --archive-dir DIRECTORY_PATH
                           The archive directory to use
  --projects-dir DIRECTORY_PATH
                           The projects directory to use
  --archived-projects-dir DIRECTORY_PATHPATH
                           The archived projects directory to use

Environment

This command does not use any extra environment variables.

Configuration

This command admits no extra configuration.